From c5ac66a2725bddaf640e158dcfe2fab24d721846 Mon Sep 17 00:00:00 2001 From: Alexander Makarenko Date: Sun, 17 Jan 2016 17:12:04 +0300 Subject: [PATCH] doc: add `servername` parameter docs Add `servername` parameter docs for `https.request()` method. Follows #4389 PR-URL: https://github.com/nodejs/node/pull/4729 Reviewed-By: James M Snell Reviewed-By: Fedor Indutny Reviewed-By: Roman Reiss --- doc/api/https.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/https.markdown b/doc/api/https.markdown index 93416633747fb4..b78eb1bc0a1c6b 100644 --- a/doc/api/https.markdown +++ b/doc/api/https.markdown @@ -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`][].