Permalink
Browse files

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>
  • Loading branch information...
MikeRalphson authored and Fishrock123 committed Aug 31, 2016
1 parent 1695c84 commit ee83f5d54149d2ce6e8a8c76a5473c4e249959fd
Showing with 2 additions and 0 deletions.
  1. +2 −0 doc/api/http.md
View
@@ -496,6 +496,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

0 comments on commit ee83f5d

Please sign in to comment.