nuxt / http

Universal HTTP Module for Nuxt.js
https://http.nuxtjs.org
MIT License
229 stars 51 forks source link

Integrate retry functionnality like axios-retry #75

Closed usb248 closed 5 years ago

usb248 commented 5 years ago

What problem does this feature solve?

-

What does the proposed changes look like?

Something like this : httpRetry($http, { retries: 2, retryDelay: httpRetry.exponentialDelay, retryCondition : function(err){ return err.status >= 400 && err.data.hasOwnProperty('retry') && err.data.retry } })

usb248 commented 5 years ago

Okey, https://http.nuxtjs.org/api/#retry Sorry, i will close this issue