Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Feb 26, 2021
1 parent 30b782d commit 07cc04e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,10 @@ This also accepts an `object` with the following fields to constrain the duratio
- `socket` starts when the socket is connected. See [request.setTimeout](https://nodejs.org/api/http.html#http_request_settimeout_timeout_callback).
- `response` starts when the request has been written to the socket and ends when the response headers are received.
- `send` starts when the socket is connected and ends with the request has been written to the socket.
- `request` starts when the request is initiated and ends when the response's end event fires.
- `request` starts when the request is initiated and ends when the response's `end` event fires.
- `read` starts when the `response` event is emitted and ends when the response's `end` event fires.

**Note:** The `read` timeout is blocked by https://github.com/nodejs/node/issues/35923

###### retry

Expand Down

0 comments on commit 07cc04e

Please sign in to comment.