diff options
author | Mike Ralphson <mike.ralphson@gmail.com> | 2016-08-31 13:56:47 +0100 |
---|---|---|
committer | Luigi Pinca <luigipinca@gmail.com> | 2016-09-03 09:25:06 +0200 |
commit | 7e8d994e33b4d8b7ee6edb4231a6bea26278cf5a (patch) | |
tree | cadb364313d20606bdc3e412ab34871ca94635fd /doc | |
parent | 5930d59b0fef701b088da32074aab7e7fc51d638 (diff) | |
download | android-node-v8-7e8d994e33b4d8b7ee6edb4231a6bea26278cf5a.tar.gz android-node-v8-7e8d994e33b4d8b7ee6edb4231a6bea26278cf5a.tar.bz2 android-node-v8-7e8d994e33b4d8b7ee6edb4231a6bea26278cf5a.zip |
doc: add return type of clientRequest.setTimeout
Refs: https://github.com/nodejs/node/pull/1699
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/http.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/http.md b/doc/api/http.md index 7ddf2c4816..2f488c9f31 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -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 |