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
-->
The `tls.Server` class is a subclass of `net.Server` that accepts encrypted
connections using TLS or SSL.
* Extends: {net.Server}
Accepts encrypted connections using TLS or SSL.
### Event: 'keylog'
<!-- YAML
@ -601,8 +602,10 @@ See [Session Resumption][] for more information.
added: v0.11.4
-->
The `tls.TLSSocket` is a subclass of [`net.Socket`][] that performs transparent
encryption of written data and all required TLS negotiation.
* Extends: {net.Socket}
Performs transparent encryption of written data and all required TLS
negotiation.
Instances of `tls.TLSSocket` implement the duplex [Stream][] interface.