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 <info@bnoordhuis.nl>
  • Loading branch information
DaftMonk authored and Fishrock123 committed Nov 11, 2015
1 parent a32d9e3 commit 597f875
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 @@ -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.
Expand Down

0 comments on commit 597f875

Please sign in to comment.