doc,tls: add extends for derived classes

PR-URL: https://github.com/nodejs/node/pull/29257
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Trivikram Kamat 2019-08-21 13:40:46 -07:00 committed by Rich Trott
parent 033037cec9
commit d4a8f99067

View File

@ -331,8 +331,9 @@ are not enabled by default since they offer less security.
added: v0.3.2 added: v0.3.2
--> -->
The `tls.Server` class is a subclass of `net.Server` that accepts encrypted * Extends: {net.Server}
connections using TLS or SSL.
Accepts encrypted connections using TLS or SSL.
### Event: 'keylog' ### Event: 'keylog'
<!-- YAML <!-- YAML
@ -601,8 +602,10 @@ See [Session Resumption][] for more information.
added: v0.11.4 added: v0.11.4
--> -->
The `tls.TLSSocket` is a subclass of [`net.Socket`][] that performs transparent * Extends: {net.Socket}
encryption of written data and all required TLS negotiation.
Performs transparent encryption of written data and all required TLS
negotiation.
Instances of `tls.TLSSocket` implement the duplex [Stream][] interface. Instances of `tls.TLSSocket` implement the duplex [Stream][] interface.