From 7e8c9750e6945178a27212e576894caec57fab06 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 --- 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 6ade19468466ea..5b797b35a33750 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.