Skip to content

Commit a7d96a5

Browse files
committed
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.
1 parent 1c7b5db commit a7d96a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/api/tls.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,15 @@ It may be useful for debugging.
898898

899899
See [Session Resumption][] for more information.
900900

901+
### tlsSocket.isSessionReused()
902+
<!-- YAML
903+
added: v0.5.6
904+
-->
905+
906+
* Returns: {boolean} `true` if the session was reused, `false` otherwise.
907+
908+
See [Session Resumption][] for more information.
909+
901910
### tlsSocket.localAddress
902911
<!-- YAML
903912
added: v0.11.4

0 commit comments

Comments
 (0)