@@ -1606,7 +1606,7 @@ changes:
16061606 * ` socket ` {stream.Duplex} Establish secure connection on a given socket
16071607 rather than creating a new socket. Typically, this is an instance of
16081608 [ ` net.Socket ` ] [ ] , but any ` Duplex ` stream is allowed.
1609- If this option is specified, ` path ` , ` host ` and ` port ` are ignored,
1609+ If this option is specified, ` path ` , ` host ` , and ` port ` are ignored,
16101610 except for certificate validation. Usually, a socket is already connected
16111611 when passed to ` tls.connect() ` , but it can be connected later.
16121612 Connection/disconnection/destruction of ` socket ` is the user's
@@ -1641,8 +1641,8 @@ changes:
16411641 More information can be found in the [ RFC 4279] [ ] .
16421642 * ` ALPNProtocols ` : {string\[ ] |Buffer\[ ] |TypedArray\[ ] |DataView\[ ] |Buffer|
16431643 TypedArray|DataView}
1644- An array of strings, ` Buffer ` s or ` TypedArray ` s or ` DataView ` s, or a
1645- single ` Buffer ` or ` TypedArray ` or ` DataView ` containing the supported ALPN
1644+ An array of strings, ` Buffer ` s, ` TypedArray ` s, or ` DataView ` s, or a
1645+ single ` Buffer ` , ` TypedArray ` , or ` DataView ` containing the supported ALPN
16461646 protocols. ` Buffer ` s should have the format ` [len][name][len][name]... `
16471647 e.g. ` '\x08http/1.1\x08http/1.0' ` , where the ` len ` byte is the length of the
16481648 next protocol name. Passing an array is usually much simpler, e.g.
@@ -2028,8 +2028,8 @@ changes:
20282028* ` options ` {Object}
20292029 * ` ALPNProtocols ` : {string\[ ] |Buffer\[ ] |TypedArray\[ ] |DataView\[ ] |Buffer|
20302030 TypedArray|DataView}
2031- An array of strings, ` Buffer ` s or ` TypedArray ` s or ` DataView ` s, or a single
2032- ` Buffer ` or ` TypedArray ` or ` DataView ` containing the supported ALPN
2031+ An array of strings, ` Buffer ` s, ` TypedArray ` s, or ` DataView ` s, or a single
2032+ ` Buffer ` , ` TypedArray ` , or ` DataView ` containing the supported ALPN
20332033 protocols. ` Buffer ` s should have the format ` [len][name][len][name]... `
20342034 e.g. ` 0x05hello0x05world ` , where the first byte is the length of the next
20352035 protocol name. Passing an array is usually much simpler, e.g.
@@ -2088,7 +2088,7 @@ changes:
20882088 in TLS 1.3. Upon failing to set pskIdentityHint ` 'tlsClientError' ` will be
20892089 emitted with ` 'ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED' ` code.
20902090 * ...: Any [ ` tls.createSecureContext() ` ] [ ] option can be provided. For
2091- servers, the identity options (` pfx ` , ` key ` /` cert ` or ` pskCallback ` )
2091+ servers, the identity options (` pfx ` , ` key ` /` cert ` , or ` pskCallback ` )
20922092 are usually required.
20932093 * ...: Any [ ` net.createServer() ` ] [ ] option can be provided.
20942094* ` secureConnectionListener ` {Function}
0 commit comments