Skip to content
Permalink
Browse files

doc,tls: add extends for derived classes

PR-URL: #29257
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
trivikr authored and BridgeAR committed Aug 21, 2019
1 parent dfc0ef5 commit ba29be60ae80ab5de47a287bb5577a1023c8a529
Showing with 7 additions and 4 deletions.
  1. +7 −4 doc/api/tls.md
@@ -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.

0 comments on commit ba29be6

Please sign in to comment.
You can’t perform that action at this time.