From 7e8d994e33b4d8b7ee6edb4231a6bea26278cf5a Mon Sep 17 00:00:00 2001 From: Mike Ralphson Date: Wed, 31 Aug 2016 13:56:47 +0100 Subject: [PATCH] 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 Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Evan Lucas --- doc/api/http.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/http.md b/doc/api/http.md index 7ddf2c4816c5f8..2f488c9f318f80 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])