summaryrefslogtreecommitdiff
path: root/doc/api/tls.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r--doc/api/tls.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 9d0011bb5c..12edef9848 100644
--- a/doc/api/tls.md
+++ b/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