| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@som14062005 options.session is duplicated by mistake. |
Sorry, something went wrong.
|
@ikeyan Good catch! I've removed the duplicate options.session entry. Thanks for the review! |
Sorry, something went wrong.
| * `ALPNCallback` {Function} A callback function that will be called when a | ||
| client supports ALPN to select a protocol from the list offered by the | ||
| client. The callback receives an object with `servername` and `protocols` | ||
| properties. Should return a string from the `protocols` list or `undefined` | ||
| if none match. Only used when `isServer` is `true`. |
There was a problem hiding this comment.
| * `ALPNCallback` {Function} A callback function that will be called when a | |
| client supports ALPN to select a protocol from the list offered by the | |
| client. The callback receives an object with `servername` and `protocols` | |
| properties. Should return a string from the `protocols` list or `undefined` | |
| if none match. Only used when `isServer` is `true`. | |
| * `ALPNCallback`: See [`tls.createServer()`][] |
Sorry, something went wrong.
There was a problem hiding this comment.
@lpinca Good suggestion,I've simplified the documentation to use a cross-reference to tls.createServer() for consistency. Thanks for the feedback
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #61047
Added documentation for the ALPNCallback option in new tls.TLSSocket()
which was previously undocumented but functional.
This option allows server-side TLS sockets to dynamically select ALPN
protocols when isServer is true.