Skip to content

Commit c529bf5

Browse files
MikeRalphsonMylesBorins
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 c034c86 commit c529bf5

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)