Skip to content
Permalink
Browse files

doc: add history to http.request.setTimeout()

PR-URL: #25121
Refs: #8895
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
jbunton-atlassian authored and addaleax committed Dec 19, 2018
1 parent 8bc1651 commit 8380bd46a01f3e912f0b7609d8f390018106c85f
Showing with 4 additions and 0 deletions.
  1. +4 −0 doc/api/http.md
@@ -695,6 +695,10 @@ Once a socket is assigned to this request and is connected
### request.setTimeout(timeout[, callback])
<!-- YAML
added: v0.5.9
changes:
- version: v9.0.0
pr-url: https://github.com/nodejs/node/pull/8895
description: Consistently set socket timeout only when the socket connects.
-->

* `timeout` {number} Milliseconds before a request times out.

0 comments on commit 8380bd4

Please sign in to comment.
You can’t perform that action at this time.