Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[doc] Add documentation for the ecdhCurve option
  • Loading branch information
lpinca committed Nov 2, 2017
1 parent d0741fa commit db729ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/ws.md
Expand Up @@ -183,12 +183,14 @@ This class represents a WebSocket. It extends the `EventEmitter`.
request.
- `origin` {String} Value of the `Origin` or `Sec-WebSocket-Origin` header
depending on the `protocolVersion`.
- `agent` {http.Agent|https.Agent} Use the specified Agent,
- `agent` {http.Agent|https.Agent} Use the specified Agent.
- `host` {String} Value of the `Host` header.
- `family` {Number} IP address family to use during hostname lookup (4 or 6).
- `checkServerIdentity` {Function} A function to validate the server hostname.
- `rejectUnauthorized` {Boolean} Verify or not the server certificate.
- `passphrase` {String} The passphrase for the private key or pfx.
- `ecdhCurve` {String} A named curve or a colon separated list of curve NIDs
or names to use for ECDH key agreement.
- `ciphers` {String} The ciphers to use or exclude
- `cert` {String|Array|Buffer} The certificate key.
- `key` {String|Array|Buffer} The private key.
Expand Down

0 comments on commit db729ef

Please sign in to comment.