Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 06e3f7f

Browse files
MikeRalphsonMyles Borins
authored and
Myles Borins
committedSep 30, 2016
doc: add return type of clientRequest.setTimeout
Refs: #1699 PR-URL: #8356 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1 parent 942b8b2 commit 06e3f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎doc/api/http.md

+2
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ Once a socket is assigned to this request and is connected
467467
* `timeout` {Number} Milliseconds before a request is considered to be timed out.
468468
* `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
469469

470+
Returns `request`.
471+
470472
### request.write(chunk[, encoding][, callback])
471473
<!-- YAML
472474
added: v0.1.29

0 commit comments

Comments
 (0)
Please sign in to comment.