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>
This commit is contained in:
parent
61dd74bc5d
commit
db7df57e03
@ -58,7 +58,7 @@ Example:
|
||||
|
||||
## 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
|
||||
dictionary with keys:
|
||||
|
@ -428,8 +428,6 @@ Construct a new TLSSocket object from existing TCP socket.
|
||||
|
||||
## tls.createSecureContext(details)
|
||||
|
||||
Stability: 0 - Deprecated. Use tls.createSecureContext instead.
|
||||
|
||||
Creates a credentials object, with the optional details being a
|
||||
dictionary with keys:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user