Skip to content

Commit

Permalink
doc: add return type of clientRequest.setTimeout
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
MikeRalphson authored and Myles Borins committed Oct 10, 2016
1 parent 8bcf2d3 commit 9c05528
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ Once a socket is assigned to this request and is connected
* `timeout` {Number} Milliseconds before a request is considered to be timed out.
* `callback` {Function} Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.

Returns `request`.

### request.write(chunk[, encoding][, callback])
<!-- YAML
added: v0.1.29
Expand Down

0 comments on commit 9c05528

Please sign in to comment.