File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -760,7 +760,11 @@ added: v0.11.3
760760 specified, ` host ` and ` port ` are ignored.
761761 * ` socket ` {net.Socket} Establish secure connection on a given socket rather
762762 than creating a new socket. If this option is specified, ` path ` , ` host ` and
763- ` port ` are ignored.
763+ ` port ` are ignored. Usually, a socket is already connected when passed to
764+ ` tls.connect() ` , but it can be connected later. Note that
765+ connection/disconnection/destruction of ` socket ` is the user's
766+ responsibility, calling ` tls.connect() ` will not cause ` net.connect() ` to be
767+ called.
764768 * ` pfx ` {string|Buffer} A string or ` Buffer ` containing the private key,
765769 certificate, and CA certs of the client in PFX or PKCS12 format.
766770 * ` key ` {string|string[ ] |Buffer|Buffer[ ] } A string, ` Buffer ` , array of
You can’t perform that action at this time.
0 commit comments