From 863f6f4eaf7d510489bb214966ea5a53b8bc1e7a Mon Sep 17 00:00:00 2001 From: Jesse O'Connor macPro2019 Date: Wed, 30 Oct 2019 23:53:11 +0100 Subject: [PATCH] doc: reword socket documentation wording --- doc/api/http.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 1ad601cf688499..fab6bb76ab1120 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -473,9 +473,9 @@ added: v0.5.3 * `duplex` {stream.Duplex} -Emitted after a socket is assigned to this request. This event may be passed -a socket {net.Socket} object, an extendion the duplex object, however this -behavior is not guaranteed. +Emitted after a socket is assigned to this request. This event is guaranteed to +be passed an instance of the {net.Socket} class, a subclass of duplex, unless +the user specifies a socket type other than {net.Socket}. ### Event: 'timeout'