Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

docs: Fix merge error in tls docs

Fixes #1648.
  • Loading branch information...
commit bc0a552a846bae78040cc15827a6099b579a4401 1 parent 908ee33
@loganfsmyth loganfsmyth authored koichik committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 doc/api/tls.markdown
4 doc/api/tls.markdown
@@ -70,7 +70,6 @@ thereafter.
[Here is some code that does it.](
-<<<<<<< HEAD
### NPN and SNI
NPN (Next Protocol Negotitation) and SNI (Server Name Indication) are TLS
@@ -79,14 +78,13 @@ handshake extensions allowing you:
* NPN - to use one TLS server for multiple protocols (HTTP, SPDY)
* SNI - to use one TLS server for multiple hostnames with different SSL
### pair = tls.createSecurePair([credentials], [isServer], [requestCert], [rejectUnauthorized])
Creates a new secure pair object with two streams, one of which reads/writes
encrypted data, and one reads/writes cleartext data.
Generally the encrypted one is piped to/from an incoming encrypted data stream,
and the cleartext one is used as a replacement for the initial encrypted stream.
->>>>>>> origin/v0.4
- `credentials`: A credentials object from crypto.createCredentials( ... )
Please sign in to comment.
Something went wrong with that request. Please try again.