mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: tls: added path property to tls.connect
In tls.connect a unix socket connection to a path may be made in recent versions of node by specifying the value for the path property. Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
parent
89e88e96df
commit
3950024c2f
@ -290,6 +290,9 @@ Creates a new client connection to the given `port` and `host` (old API) or
|
||||
creating a new socket. If this option is specified, `host` and `port`
|
||||
are ignored.
|
||||
|
||||
- `path`: Creates unix socket connection to path. If this option is
|
||||
specified, `host` and `port` are ignored.
|
||||
|
||||
- `pfx`: A string or `Buffer` containing the private key, certificate and
|
||||
CA certs of the client in PFX or PKCS12 format.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user