Skip to content

Commit

Permalink
doc: describe SNI host name format
Browse files Browse the repository at this point in the history
Ref: #23329
  • Loading branch information
sam-github committed Oct 12, 2018
1 parent 0ea804a commit 88f89fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ changes:
protocol name. Passing an array is usually much simpler, e.g.
`['hello', 'world']`.
* `servername`: {string} Server name for the SNI (Server Name Indication) TLS
extension.
extension. It must be a host name, and not an IP address.
* `checkServerIdentity(servername, cert)` {Function} A callback function
to be used (instead of the builtin `tls.checkServerIdentity()` function)
when checking the server's hostname (or the provided `servername` when
Expand Down

0 comments on commit 88f89fe

Please sign in to comment.