From e17f070ef07da530af6e0a13b6194225a599103c Mon Sep 17 00:00:00 2001 From: Mike Ralphson Date: Wed, 31 Aug 2016 13:56:47 +0100 Subject: [PATCH] Update return type of clientRequest.setTimeout #1699 did not update documentation --- 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])