Skip to content

Commit

Permalink
doc: document 'secureConnect' event limitation
Browse files Browse the repository at this point in the history
Fixes: #10555
Signed-off-by: James M Snell <[email protected]>
Refs: #10846

PR-URL: #38447
Reviewed-By: Alba Mendez <[email protected]>
Reviewed-By: Adrian Estrada <[email protected]>
  • Loading branch information
jasnell authored and targos committed May 3, 2021
1 parent 8a83bfd commit 3b0480d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,9 @@ determine if the server certificate was signed by one of the specified CAs. If
`tlsSocket.alpnProtocol` property can be checked to determine the negotiated
protocol.

The `'secureConnect'` event is not emitted when a {tls.TLSSocket} is created
using the `new tls.TLSSocket()` constructor.

### Event: `'session'`
<!-- YAML
added: v11.10.0
Expand Down

0 comments on commit 3b0480d

Please sign in to comment.