Skip to content

Commit

Permalink
tune timeout description
Browse files Browse the repository at this point in the history
for new timed-out@3.1.0 options
  • Loading branch information
floatdrop committed Dec 14, 2016
1 parent 88a8ac8 commit 8859a0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ Query string object that will be added to the request URL. This will override th

###### timeout

Type: `number`
Type: `number`, `object`

Milliseconds to wait for a server to send response headers before aborting request with `ETIMEDOUT` error.

Option accepts `object` with separate `connect` and `socket` fields for connection and socket inactivity timeouts.

###### retries

Type: `number`, `function`<br>
Expand Down

0 comments on commit 8859a0f

Please sign in to comment.