8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
There was an error while loadin 8000 g. Please reload this page.
1 parent a1aff28 commit b17819dCopy full SHA for b17819d
doc/api/http.md
@@ -625,8 +625,9 @@ added: v0.5.9
625
* `timeout` {number} Milliseconds before a request times out.
626
* `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
627
628
-Once a socket is assigned to this request and is connected
629
-[`socket.setTimeout()`][] will be called.
+If no socket is assigned to this request then [`socket.setTimeout()`][] will be
+called immediately. Otherwise [`socket.setTimeout()`][] will be called after the
630
+assigned socket is connected.
631
632
Returns `request`.
633
0 commit comments