Skip to content

Commit 7e8d994

Browse files
MikeRalphsonlpinca
authored andcommitted
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 5930d59 commit 7e8d994

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
@@ -496,6 +496,8 @@ Once a socket is assigned to this request and is connected
496496
* `timeout` {Number} Milliseconds before a request is considered to be timed out.
497497
* `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
498498

499+
Returns `request`.
500+
499501
### request.write(chunk[, encoding][, callback])
500502
<!-- YAML
501503
added: v0.1.29

0 commit comments

Comments
 (0)