File tree 1 file changed +19
-2
lines changed
1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,11 @@ If you are coming from an older release please be sure to read [Migration Guide]
40
40
41
41
✓ Fetch Style requests
42
42
43
- ✓ Automatically integrate with Nuxt.js progress bar
43
+ ✓ Integrated with Nuxt.js Progressbar while making requests
44
44
45
- ✓ Easily integrate with [ Proxy Module] ( https://github.com/nuxt-community/proxy-module )
45
+ ✓ Integrated with [ Proxy Module] ( https://github.com/nuxt-community/proxy-module )
46
+
47
+ ✓ Auto retry requests with [ axios-retry] ( https://github.com/softonic/axios-retry )
46
48
47
49
# Table of Contents
48
50
@@ -63,6 +65,7 @@ If you are coming from an older release please be sure to read [Migration Guide]
63
65
* [ browserBaseURL] ( #browserbaseurl )
64
66
* [ progress] ( #progress )
65
67
* [ proxy] ( #proxy )
68
+ * [ retry] ( #retry )
66
69
* [ credentials] ( #credentials )
67
70
* [ debug] ( #debug )
68
71
* [ proxyHeaders] ( #proxyheaders )
@@ -344,6 +347,20 @@ proxy: {
344
347
}
345
348
```
346
349
350
+ ### ` retry `
351
+
352
+ * Default: ` false `
353
+
354
+ Automatically intercept failed requests and retries them whenever posible using [ axios-retry] ( https://github.com/softonic/axios-retry ) .
355
+
356
+ By default, number of retries will be ** 3 times** , if ` retry ` value is set to ` true ` . You can change it by passing an object like this:
357
+
358
+ ``` js
359
+ axios: {
360
+ retry: { retries: 3 }
361
+ }
362
+ ```
363
+
347
364
### ` credentials `
348
365
349
366
* Default: ` false `
You can’t perform that action at this time.
0 commit comments