From c529bf55212dc13359ab18d86d0f19cfa05b2166 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 a44fc7d3dc63f5..3aed0315c2e498 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -467,6 +467,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])