New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manually add status codes for retry #11
Comments
Hi @awwwer ! Thank you for contributing. RetryInterceptor(
dio: dio,
logPrint: print,
retries: 3,
retryableExtraStatuses: { status401Unauthorized }, //<--- proposal way to set extra retriable statuses
), |
Hi @rodion-m , |
rodion-m
added a commit
that referenced
this issue
Jul 17, 2022
…eter `retryableExtraStatuses`) (#11)
Feature was implemented in version 1.3.1 (22dd670) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would it be possible to add specific status codes beside the default codes to 'dio_smart_retry'?
For example I would like to retry on status code 401, but it is not included.
Please add an option to set optional status codes. Thank you!
The text was updated successfully, but these errors were encountered: