summaryrefslogtreecommitdiff
path: root/doc/api/tls.md
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2017-06-06 11:00:32 +0200
committerTobias Nießen <tniessen@tnie.de>2017-06-14 00:18:59 +0200
commite318c8a97a4adc2503d9c16a9af9f34df0e42d1b (patch)
tree5e3732d8c87d6be923e29f06265c8edeee54ed33 /doc/api/tls.md
parent80c9ef0b6be57d42632526818a3b0c3f20f225a1 (diff)
downloadandroid-node-v8-e318c8a97a4adc2503d9c16a9af9f34df0e42d1b.tar.gz
android-node-v8-e318c8a97a4adc2503d9c16a9af9f34df0e42d1b.tar.bz2
android-node-v8-e318c8a97a4adc2503d9c16a9af9f34df0e42d1b.zip
doc: fix minor issues reported in #9538
oath.md: make order of properties consistent tls.md: remove spaces in getPeerCertificate signature tls.md: add deprecation notice to server.connections http.md: fix signature of request.end crypto.md: change crypto parameters to camelCase vm.md: add missing apostrophe vm.md: fix signature of vm.runInNewContext zlib.md: improve description of zlib.createXYZ PR-URL: https://github.com/nodejs/node/pull/13491 Ref: https://github.com/nodejs/node/issues/9538 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/tls.md')
-rw-r--r--doc/api/tls.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/tls.md b/doc/api/tls.md
index 94db2dea67..80cd2e8726 100644
--- a/doc/api/tls.md
+++ b/doc/api/tls.md
@@ -391,8 +391,11 @@ when the server has no more open connections.
### server.connections
<!-- YAML
added: v0.3.2
+deprecated: v0.9.7
-->
+> Stability: 0 - Deprecated: Use [`server.getConnections()`][] instead.
+
Returns the current number of concurrent connections on the server.
### server.getTicketKeys()
@@ -585,7 +588,7 @@ if called on a server socket. The supported types are `'DH'` and `'ECDH'`. The
For Example: `{ type: 'ECDH', name: 'prime256v1', size: 256 }`
-### tlsSocket.getPeerCertificate([ detailed ])
+### tlsSocket.getPeerCertificate([detailed])
<!-- YAML
added: v0.11.4
-->
@@ -1272,6 +1275,7 @@ where `secure_socket` has the same API as `pair.cleartext`.
[`net.Server.address()`]: net.html#net_server_address
[`net.Server`]: net.html#net_class_net_server
[`net.Socket`]: net.html#net_class_net_socket
+[`server.getConnections()`]: net.html#net_server_getconnections_callback
[`tls.DEFAULT_ECDH_CURVE`]: #tls_tls_default_ecdh_curve
[`tls.TLSSocket.getPeerCertificate()`]: #tls_tlssocket_getpeercertificate_detailed
[`tls.TLSSocket`]: #tls_class_tls_tlssocket