Skip to content

Commit 863f6f4

Browse files
committed
doc: reword socket documentation wording
1 parent 8572afb commit 863f6f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@ added: v0.5.3
473473

474474
* `duplex` {stream.Duplex}
475475

476-
Emitted after a socket is assigned to this request. This event may be passed
477-
a socket {net.Socket} object, an extendion the duplex object, however this
478-
behavior is not guaranteed.
476+
Emitted after a socket is assigned to this request. This event is guaranteed to
477+
be passed an instance of the {net.Socket} class, a subclass of duplex, unless
478+
the user specifies a socket type other than {net.Socket}.
479479

480480
### Event: 'timeout'
481481
<!-- YAML

0 commit comments

Comments
 (0)