Browse Source

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>
v0.11.13-release
Farrin Reid 12 years ago
committed by Fedor Indutny
parent
commit
3950024c2f
  1. 3
      doc/api/tls.markdown

3
doc/api/tls.markdown

@ -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` creating a new socket. If this option is specified, `host` and `port`
are ignored. 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 - `pfx`: A string or `Buffer` containing the private key, certificate and
CA certs of the client in PFX or PKCS12 format. CA certs of the client in PFX or PKCS12 format.

Loading…
Cancel
Save