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 bnoordhuis committed Nov 10, 2015
1 parent 5235143 commit eff8c3e
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 eff8c3e

Please sign in to comment.