Skip to content

Commit 62ccc7a

Browse files
MikeRalphsonrvagg
authored andcommitted
doc: add return type of clientRequest.setTimeout
Refs: #1699 PR-URL: #8356 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
1 parent e63aecf commit 62ccc7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/http.md

Lines changed: 2 additions & 0 deletions
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)