Skip to content

Commit 597f875

Browse files
DaftMonkFishrock123
authored andcommitted
doc: add note on tls connection meta data methods
PR-URL: #3746 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent a32d9e3 commit 597f875

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
@@ -764,6 +764,10 @@ of written data and all required TLS negotiation.
764764
This instance implements a duplex [Stream][] interfaces. It has all the
765765
common stream methods and events.
766766

767+
Methods that return TLS connection meta data (e.g.
768+
[getPeerCertificate](#tlssocketgetpeercertificate-detailed-))
769+
will only return data while the connection is open.
770+
767771
### Event: 'secureConnect'
768772

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

0 commit comments

Comments
 (0)