diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 6562a469a73bdb..f62b248f63d5fe 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -375,6 +375,9 @@ Once a socket is assigned to this request and is connected Once a socket is assigned to this request and is connected [`socket.setTimeout()`][] will be called. +* `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. + ### request.write(chunk[, encoding][, callback]) Sends a chunk of the body. By calling this method