Skip to content
Permalink
Browse files

doc: add TLSSocket.isSessionReused() docs

The API has existed forever and is used in our unit tests. It is
supported for TLS1.3 as well as 1.2 and useful for troubleshooting, so
it should be documented.

PR-URL: #25423
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information...
sam-github authored and addaleax committed Jan 9, 2019
1 parent 7123167 commit 2172dbfce4728fb34f5aa616d7f5ef86742c128e
Showing with 9 additions and 0 deletions.
  1. +9 −0 doc/api/tls.md
@@ -898,6 +898,15 @@ It may be useful for debugging.

See [Session Resumption][] for more information.

### tlsSocket.isSessionReused()
<!-- YAML
added: v0.5.6
-->

* Returns: {boolean} `true` if the session was reused, `false` otherwise.

See [Session Resumption][] for more information.

### tlsSocket.localAddress
<!-- YAML
added: v0.11.4

0 comments on commit 2172dbf

Please sign in to comment.
You can’t perform that action at this time.