| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -625,8 +625,9 @@ added: v0.5.9 | |||
| 625 | 625 | * `timeout` {number} Milliseconds before a request times out. | |
| 626 | 626 | * `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event. | |
| 627 | 627 | ||
| 628 | - Once a socket is assigned to this request and is connected | ||
| 629 | - [`socket.setTimeout()`][] will be called. | ||
| 628 | + If no socket is assigned to this request then [`socket.setTimeout()`][] will be | ||
| 629 | + called immediately. Otherwise [`socket.setTimeout()`][] will be called after the | ||
| 630 | + assigned socket is connected. | ||
| 630 | 631 | ||
| 631 | 632 | Returns `request`. | |
| 632 | 633 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments