doc: add note on tls connection meta data methods

PR-URL: https://github.com/nodejs/node/pull/3746
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
Tyler Henkel authored and James M Snell committed 2015-12-23 08:38:33 -08:00
1 parent f7643eed00
commit ebab03f268
1 file changed
+4
+4
View File
@@ -735,6 +735,10 @@ of written data and all required TLS negotiation.
This instance implements a duplex [Stream][] interfaces. It has all the
common stream methods and events.
Methods that return TLS connection meta data (e.g.
[getPeerCertificate](#tlssocketgetpeercertificate-detailed-))
will only return data while the connection is open.
### Event: 'secureConnect'
This event is emitted after a new connection has been successfully handshaked.