Skip to content

Commit 5226d1e

Browse files
DaftMonkrvagg
authored andcommitted
doc: add note on tls connection meta data methods
PR-URL: #3746 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 0ec94c2 commit 5226d1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/api/tls.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,10 @@ of written data and all required TLS negotiation.
735735
This instance implements a duplex [Stream][] interfaces. It has all the
736736
common stream methods and events.
737737

738+
Methods that return TLS connection meta data (e.g.
739+
[getPeerCertificate](#tlssocketgetpeercertificate-detailed-))
740+
will only return data while the connection is open.
741+
738742
### Event: 'secureConnect'
739743

740744
This event is emitted after a new connection has been successfully handshaked.

0 commit comments

Comments
 (0)