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>
pull/3746/merge
Tyler Henkel 2015-11-10 12:33:36 -07:00 committed by Ben Noordhuis
parent 52351430cf
commit eff8c3e024
1 changed files with 4 additions and 0 deletions

View File

@ -764,6 +764,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.