doc: add `servername` parameter docs
authorAlexander Makarenko <estliberitas@gmail.com>
Sun, 17 Jan 2016 14:12:04 +0000 (17:12 +0300)
committerMyles Borins <mborins@us.ibm.com>
Mon, 15 Feb 2016 19:30:23 +0000 (11:30 -0800)
Add `servername` parameter docs for `https.request()` method.

Follows #4389

PR-URL: https://github.com/nodejs/node/pull/4729
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
doc/api/https.markdown

index 9341663..b78eb1b 100644 (file)
@@ -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`][].