From d4a8f99067db47ea9e40c0230d2586db9c8226ba Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Wed, 21 Aug 2019 13:40:46 -0700 Subject: [PATCH] doc,tls: add extends for derived classes PR-URL: https://github.com/nodejs/node/pull/29257 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/tls.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/api/tls.md b/doc/api/tls.md index 6ade1946846..5b797b35a33 100644 --- a/doc/api/tls.md +++ b/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' -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.