summaryrefslogtreecommitdiff
path: root/doc/api/tls.md
diff options
context:
space:
mode:
authorLuigi Pinca <luigipinca@gmail.com>2019-05-13 09:07:56 +0200
committerRich Trott <rtrott@gmail.com>2019-05-18 19:46:55 -0700
commit5112b3d9a6645b83b90b559cb388fa29ee61eb99 (patch)
tree25de70cdc59f1033c86bf652651ee7f83788a9cd /doc/api/tls.md
parent7bdd8d6e98d375a8f4a66d741642af68f5ce562d (diff)
downloadandroid-node-v8-5112b3d9a6645b83b90b559cb388fa29ee61eb99.tar.gz
android-node-v8-5112b3d9a6645b83b90b559cb388fa29ee61eb99.tar.bz2
android-node-v8-5112b3d9a6645b83b90b559cb388fa29ee61eb99.zip
tls: support `net.Server` options
Pass `tls.Server` constructor options to the parent constructor. PR-URL: https://github.com/nodejs/node/pull/27665 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r--doc/api/tls.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 867681d1d2..23c9b3fb37 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -1485,6 +1485,10 @@ publicly trusted list of CAs as given in
<!-- YAML
added: v0.3.2
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/27665
+ description: The `options` parameter now supports `net.createServer()`
+ options.
- version: v9.3.0
pr-url: https://github.com/nodejs/node/pull/14903
description: The `options` parameter can now include `clientCertEngine`.
@@ -1535,6 +1539,7 @@ changes:
data. See [Session Resumption][] for more information.
* ...: Any [`tls.createSecureContext()`][] option can be provided. For
servers, the identity options (`pfx` or `key`/`cert`) are usually required.
+ * ...: Any [`net.createServer()`][] option can be provided.
* `secureConnectionListener` {Function}
* Returns: {tls.Server}
@@ -1755,6 +1760,7 @@ where `secureSocket` has the same API as `pair.cleartext`.
[`NODE_OPTIONS`]: cli.html#cli_node_options_options
[`crypto.getCurves()`]: crypto.html#crypto_crypto_getcurves
[`dns.lookup()`]: dns.html#dns_dns_lookup_hostname_options_callback
+[`net.createServer()`]: net.html#net_net_createserver_options_connectionlistener
[`net.Server.address()`]: net.html#net_server_address
[`net.Server`]: net.html#net_class_net_server
[`net.Socket`]: net.html#net_class_net_socket