Skip to content

Commit

Permalink
doc: add history to http.request.setTimeout()
Browse files Browse the repository at this point in the history
PR-URL: #25121
Refs: #8895
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
jbunton-atlassian authored and addaleax committed Jan 14, 2019
1 parent 8bc1651 commit 8380bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8380bd4

Please sign in to comment.