2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

Documents the timeout default

This commit is contained in:
MiguelMadero
2018-02-14 17:49:39 -08:00
parent 40b829994c
commit f7310ca083
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -63,6 +63,10 @@ var defaults = {
return data;
}],
/**
* A timeout in milliseconds to abort a request. If set to 0 (default) a
* timeout is not created.
*/
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',