@@ -72,7 +72,7 @@ server-side resources, which makes it a potential vector for denial-of-service
7272attacks.
7373
7474To mitigate this, renegotiations are limited to three times every 10 minutes. An
75- error is emitted on the [ tls.TLSSocket] [ ] instance when the threshold is
75+ error is emitted on the [ ` tls.TLSSocket ` ] [ ] instance when the threshold is
7676exceeded. The limits are configurable:
7777
7878 - ` tls.CLIENT_RENEG_LIMIT ` : renegotiation limit, default is 3.
@@ -155,7 +155,7 @@ is expensive.
155155
156156## Class: CryptoStream
157157
158- Stability: 0 - Deprecated: Use [`tls.TLSSocket() `][] instead.
158+ Stability: 0 - Deprecated: Use [`tls.TLSSocket`][] instead.
159159
160160This is an encrypted stream.
161161
@@ -190,7 +190,7 @@ connections using TLS or SSL.
190190When a client connection emits an ` 'error' ` event before secure connection is
191191established - it will be forwarded here.
192192
193- ` tlsSocket ` is the [ tls.TLSSocket] [ ] that the error originated from.
193+ ` tlsSocket ` is the [ ` tls.TLSSocket ` ] [ ] that the error originated from.
194194
195195### Event: 'newSession'
196196
@@ -272,7 +272,7 @@ server.on('resumeSession', (id, cb) => {
272272` function (tlsSocket) {} `
273273
274274This event is emitted after a new connection has been successfully
275- handshaked. The argument is an instance of [ tls.TLSSocket] [ ] . It has all the
275+ handshaked. The argument is an instance of [ ` tls.TLSSocket ` ] [ ] . It has all the
276276common stream methods and events.
277277
278278` socket.authorized ` is a boolean value which indicates if the
@@ -649,7 +649,7 @@ Creates a new client connection to the given `port` and `host` (old API) or
649649The ` callback ` parameter will be added as a listener for the
650650[ ` 'secureConnect' ` ] [ ] event.
651651
652- ` tls.connect() ` returns a [ tls.TLSSocket] [ ] object.
652+ ` tls.connect() ` returns a [ ` tls.TLSSocket ` ] [ ] object.
653653
654654Here is an example of a client of echo server as described previously:
655655
@@ -756,12 +756,12 @@ and the cleartext one is used as a replacement for the initial encrypted stream.
756756 automatically reject clients with invalid certificates. Only applies to
757757 servers with ` requestCert ` enabled.
758758
759- - ` options ` : An object with common SSL options. See [ tls.TLSSocket] [ ] .
759+ - ` options ` : An object with common SSL options. See [ ` tls.TLSSocket ` ] [ ] .
760760
761761` tls.createSecurePair() ` returns a SecurePair object with ` cleartext ` and
762762` encrypted ` stream properties.
763763
764- NOTE: ` cleartext ` has the same APIs as [ tls.TLSSocket] [ ]
764+ NOTE: ` cleartext ` has the same APIs as [ ` tls.TLSSocket ` ] [ ]
765765
766766## tls.createServer(options[ , secureConnectionListener] )
767767
@@ -978,7 +978,7 @@ console.log(ciphers); // ['AES128-SHA', 'AES256-SHA', ...]
978978[ `crypto.getCurves()` ] : crypto.html#crypto_crypto_getcurves
979979[ `tls.createServer()` ] : #tls_tls_createserver_options_secureconnectionlistener
980980[ `tls.createSecurePair()` ] : #tls_tls_createsecurepair_context_isserver_requestcert_rejectunauthorized_options
981- [ `tls.TLSSocket() ` ] : #tls_class_tls_tlssocket
981+ [ `tls.TLSSocket` ] : #tls_class_tls_tlssocket
982982[ `net.Server` ] : net.html#net_class_net_server
983983[ `net.Socket` ] : net.html#net_class_net_socket
984984[ `net.Server.address()` ] : net.html#net_server_address
0 commit comments