Skip to content

Commit

Permalink
doc: document 'ciphers' option of tls.connect
Browse files Browse the repository at this point in the history
This option has been there for a long time, but has never been
documented. It's functionally identical to the server counterpart.
  • Loading branch information
silverwind committed Feb 18, 2015
1 parent 982b143 commit a979381
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/tls.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ Creates a new client connection to the given `port` and `host` (old API) or
format. If this is omitted several well known "root" CAs will be used,
like VeriSign. These are used to authorize connections.

- `ciphers`: A string describing the ciphers to use or exclude, separated by
`:`. Uses the same default cipher suite as `tls.createServer`.

- `rejectUnauthorized`: If `true`, the server certificate is verified against
the list of supplied CAs. An `'error'` event is emitted if verification
fails; `err.code` contains the OpenSSL error code. Default: `true`.
Expand Down

0 comments on commit a979381

Please sign in to comment.