Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add TLSSocket.isSessionReused() docs #25423

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
sam-github committed Jan 14, 2019
commit a7d96a568fc501ba02a09b7b4d10096d2664f0a6
9 changes: 9 additions & 0 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
@@ -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