diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/http.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 78f8bc4b6b..fdbc99774e 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -126,6 +126,8 @@ added: v0.3.4 * `maxFreeSockets` {number} Maximum number of sockets to leave open in a free state. Only relevant if `keepAlive` is set to `true`. **Default:** `256`. + * `timeout` {number} Socket timeout in milliseconds. + This will set the timeout after the socket is connected. The default [`http.globalAgent`][] that is used by [`http.request()`][] has all of these values set to their respective defaults. |