Skip to content

Commit ba29be6

Browse files
trivikrBridgeAR
authored andcommitted
doc,tls: add extends for derived classes
PR-URL: #29257 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent dfc0ef5 commit ba29be6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/api/tls.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,9 @@ are not enabled by default since they offer less security.
331331
added: v0.3.2
332332
-->
333333

334-
The `tls.Server` class is a subclass of `net.Server` that accepts encrypted
335-
connections using TLS or SSL.
334+
* Extends: {net.Server}
335+
336+
Accepts encrypted connections using TLS or SSL.
336337

337338
### Event: 'keylog'
338339
<!-- YAML
@@ -601,8 +602,10 @@ See [Session Resumption][] for more information.
601602
added: v0.11.4
602603
-->
603604

604-
The `tls.TLSSocket` is a subclass of [`net.Socket`][] that performs transparent
605-
encryption of written data and all required TLS negotiation.
605+
* Extends: {net.Socket}
606+
607+
Performs transparent encryption of written data and all required TLS
608+
negotiation.
606609

607610
Instances of `tls.TLSSocket` implement the duplex [Stream][] interface.
608611

0 commit comments

Comments
 (0)