From c6a2fdf3aa8f8db7344ae7c530468b9feb715086 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Tue, 30 Apr 2019 11:46:56 -0400 Subject: tls: support enableTrace in TLSSocket() This commit adds the enableTrace option to the TLSSocket constructor. It also plumbs the option through other relevant APIs. PR-URL: https://github.com/nodejs/node/pull/27497 Reviewed-By: Anna Henningsen Reviewed-By: Richard Lau Reviewed-By: Rich Trott --- doc/api/tls.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/api/tls.md') diff --git a/doc/api/tls.md b/doc/api/tls.md index 228de39794..3d2a9534f1 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -586,6 +586,9 @@ connection is open. * `options` {Object} + * `enableTrace`: See [`tls.createServer()`][] * `host` {string} Host the client should connect to. **Default:** `'localhost'`. * `port` {number} Port the client should connect to. @@ -1647,6 +1655,7 @@ changes: * `rejectUnauthorized` {boolean} If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`. * `options` + * `enableTrace`: See [`tls.createServer()`][] * `secureContext`: A TLS context object from [`tls.createSecureContext()`][] * `isServer`: If `true` the TLS socket will be instantiated in server-mode. **Default:** `false`. -- cgit v1.2.3