Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cb5986d

Browse filesBrowse files
estliberitasMyles Borins
authored andcommitted
doc: add servername parameter docs
Add `servername` parameter docs for `https.request()` method. Follows #4389 PR-URL: #4729 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent fb615bd commit cb5986d
Copy full SHA for cb5986d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/https.markdown‎

Copy file name to clipboardExpand all lines: doc/api/https.markdown
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ The following options from [`tls.connect()`][] can also be specified. However, a
177177
- `secureProtocol`: The SSL method to use, e.g. `SSLv3_method` to force
178178
SSL version 3. The possible values depend on your installation of
179179
OpenSSL and are defined in the constant [`SSL_METHODS`][].
180+
- `servername`: Servername for SNI (Server Name Indication) TLS extension.
180181

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.