From ccb0b3dbcd8ef2d2a0ea0c545c5a7753b7e3ce4f 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 --- 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])