Skip to content

Commit

Permalink
doc,tls: add extends for derived classes
Browse files Browse the repository at this point in the history
PR-URL: #29257
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
trivikr authored and Trott committed Aug 23, 2019
1 parent 033037c commit d4a8f99
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit d4a8f99

Please sign in to comment.