Browse Source

doc: correct createSecureContext

Remove incorrect stablity indication of tls.createSecureContext, and
format stablity indication of crypto.createCredentials.

Fixes: e50749 "doc: document `tls.createSecureContext`"
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
v0.11.15-release
Wang Xinyong 10 years ago
committed by Trevor Norris
parent
commit
db7df57e03
  1. 2
      doc/api/crypto.markdown
  2. 2
      doc/api/tls.markdown

2
doc/api/crypto.markdown

@ -58,7 +58,7 @@ Example:
## crypto.createCredentials(details) ## crypto.createCredentials(details)
Stability: 0 - Deprecated. Use [tls.createSecureContext][] instead. Stability: 0 - Deprecated. Use [tls.createSecureContext][] instead.
Creates a credentials object, with the optional details being a Creates a credentials object, with the optional details being a
dictionary with keys: dictionary with keys:

2
doc/api/tls.markdown

@ -428,8 +428,6 @@ Construct a new TLSSocket object from existing TCP socket.
## tls.createSecureContext(details) ## tls.createSecureContext(details)
Stability: 0 - Deprecated. Use tls.createSecureContext instead.
Creates a credentials object, with the optional details being a Creates a credentials object, with the optional details being a
dictionary with keys: dictionary with keys:

Loading…
Cancel
Save