|
@ -110,10 +110,12 @@ Query string object that will be added to the request URL. This will override th |
|
|
|
|
|
|
|
|
###### timeout |
|
|
###### timeout |
|
|
|
|
|
|
|
|
Type: `number` |
|
|
Type: `number`, `object` |
|
|
|
|
|
|
|
|
Milliseconds to wait for a server to send response headers before aborting request with `ETIMEDOUT` error. |
|
|
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 |
|
|
###### retries |
|
|
|
|
|
|
|
|
Type: `number`, `function`<br> |
|
|
Type: `number`, `function`<br> |
|
|