File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -899,6 +899,11 @@ changes:
899899 * ` rejectUnauthorized ` : See [ ` tls.createServer() ` ] [ ]
900900 * ` ALPNProtocols ` : See [ ` tls.createServer() ` ] [ ]
901901 * ` SNICallback ` : See [ ` tls.createServer() ` ] [ ]
902+ * ` ALPNCallback ` {Function} A callback function that will be called when a
903+ client supports ALPN to select a protocol from the list offered by the
904+ client. The callback receives an object with ` servername ` and ` protocols `
905+ properties. Should return a string from the ` protocols ` list or ` undefined `
906+ if none match. Only used when ` isServer ` is ` true ` .
902907 * ` session ` {Buffer} A ` Buffer ` instance containing a TLS session.
903908 * ` requestOCSP ` {boolean} If ` true ` , specifies that the OCSP status request
904909 extension will be added to the client hello and an ` 'OCSPResponse' ` event
You can’t perform that action at this time.
0 commit comments