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: #29948
  • Loading branch information
jessekoconnor committed Oct 30, 2019
1 parent 9eb3fac commit 8572afb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/http.md
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 8572afb

Please sign in to comment.