Skip to content

Commit

Permalink
Enhance socket timeout description (#2055)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rychu-Pawel committed Jun 10, 2022
1 parent ad92afa commit 5c628cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions documentation/6-timeout.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ This timeout applies only to HTTPS requests.
**Type: `number`**

Starts when the socket is connected.\
Resets when new data are received.
Resets when new data is transferred.

It is the same as [`request.setTimeout(timeout)`](https://nodejs.org/api/http.html#http_request_settimeout_timeout_callback).
It is the same as [`request.setTimeout(timeout)`](https://nodejs.org/api/http.html#http_request_settimeout_timeout_callback) which calls [`socket.setTimeout(timeout)`](https://nodejs.org/api/net.html#socketsettimeouttimeout-callback) after a socket is assigned to this request and is connected.

#### `send`

Expand Down

0 comments on commit 5c628cc

Please sign in to comment.