summaryrefslogtreecommitdiff
path: root/doc/api/https.md
diff options
context:
space:
mode:
authorXadillaX <admin@xcoder.in>2017-06-10 14:09:35 -0400
committerRefael Ackermann <refack@gmail.com>2017-06-14 15:14:34 -0400
commitc1c226719f269f013f000e8ad9194254e6d83f51 (patch)
treee387688418a02a3363f54ad3a38f9d73b6d50fef /doc/api/https.md
parent2f34bf0f772c590f49b4b4b11ad81549d0f8b04a (diff)
downloadandroid-node-v8-c1c226719f269f013f000e8ad9194254e6d83f51.tar.gz
android-node-v8-c1c226719f269f013f000e8ad9194254e6d83f51.tar.bz2
android-node-v8-c1c226719f269f013f000e8ad9194254e6d83f51.zip
https: make opts optional & immutable when create
`opts` in `createServer` will be immutable that won't change origional opts value. What's more, it's optional which can make `requestListener` be the first argument. PR-URL: https://github.com/nodejs/node/pull/13599 Fixes: https://github.com/nodejs/node/issues/13584 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yorkie Liu <yorkiefixer@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
Diffstat (limited to 'doc/api/https.md')
-rw-r--r--doc/api/https.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/https.md b/doc/api/https.md
index f4000335a0..f6c56ef8ed 100644
--- a/doc/api/https.md
+++ b/doc/api/https.md
@@ -46,7 +46,7 @@ added: v8.0.0
See [`http.Server#keepAliveTimeout`][].
-## https.createServer(options[, requestListener])
+## https.createServer([options][, requestListener])
<!-- YAML
added: v0.3.4
-->