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 Jun 11, 2021
1 parent 16a3e55 commit 4c54d81
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 @@ -817,6 +817,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 4c54d81

Please sign in to comment.