Skip to content

Commit

Permalink
doc: add note on tls connection meta data methods
Browse files Browse the repository at this point in the history
PR-URL: #3746
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
DaftMonk authored and jasnell committed Dec 23, 2015
1 parent f7643ee commit ebab03f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ebab03f

Please sign in to comment.