Configures the timeout, cancellation signal, retry policy, and error hook used by subsequent requests.
Passing no options restores the defaults. A timeout of zero is valid because Axios uses it to disable its timeout.
Optional transport configuration.
A TypeError when timeout is negative or not finite.
TypeError
timeout
Configures the timeout, cancellation signal, retry policy, and error hook used by subsequent requests.
Passing no options restores the defaults. A timeout of zero is valid because Axios uses it to disable its timeout.