Skip to content

Commit

Permalink
doc: add servername parameter docs
Browse files Browse the repository at this point in the history
Add `servername` parameter docs for `https.request()` method.

Follows nodejs#4389

PR-URL: nodejs#4729
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
estliberitas authored and Myles Borins committed Feb 15, 2016
1 parent fb615bd commit cb5986d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/https.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ The following options from [`tls.connect()`][] can also be specified. However, a
- `secureProtocol`: The SSL method to use, e.g. `SSLv3_method` to force
SSL version 3. The possible values depend on your installation of
OpenSSL and are defined in the constant [`SSL_METHODS`][].
- `servername`: Servername for SNI (Server Name Indication) TLS extension.

In order to specify these options, use a custom [`Agent`][].

Expand Down

0 comments on commit cb5986d

Please sign in to comment.