Skip to content

Commit

Permalink
doc: update stream obj to duplex obj
Browse files Browse the repository at this point in the history
Updating the docs based on feedback from @addaleax
Fixes: nodejs#29948
  • Loading branch information
jessekoconnor committed Nov 4, 2019
1 parent 3feb162 commit d266fb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,11 +471,11 @@ once.
added: v0.5.3
-->

* `socket` {net.Socket}
* `duplex` {stream.Duplex}

Emitted after a socket is assigned to this request. This event is sometimes
passed a `duplex` {stream.Duplex} which `socket` {net.Socket} extends rather
than being passed a socket.
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.

### Event: 'timeout'
<!-- YAML
Expand Down

0 comments on commit d266fb8

Please sign in to comment.