Option to control the time outs Use a short response timeout to detect unresponsive networks quickly, and a long deadline to give time for downloads on slow, but reliable, networks. Note that both of these timers limit how long uploads of attached files are allowed to take. Use long timeouts if you're uploading files.
|deadline||undefined | number||Sets a deadline (in milliseconds) for the entire request (including all uploads, redirects, server processing time) to complete.|
|response||undefined | number||Sets maximum time (in milliseconds) to wait for the first byte to arrive from the server, but it does not limit how long the entire
download can take.
Last Updated: 08 January, 2020