From c1c226719f269f013f000e8ad9194254e6d83f51 Mon Sep 17 00:00:00 2001 From: XadillaX Date: Sat, 10 Jun 2017 14:09:35 -0400 Subject: 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 Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Yorkie Liu Reviewed-By: James M Snell Reviewed-By: Brian White --- doc/api/https.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/https.md') 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]) -- cgit v1.2.3