🚀 Feature request
Please describe what is needed
The retry strategy for failed HTTP calls in the HttpApiService is currently hardcoded to:
- a maximum of 3 attempts
- a retry wait period of 1000 ms
- ignore HTTP status codes of
0
We should give our consumers the ability to provide a custom strategy.
Describe the solution you'd like
The simplest way to achieve this would be to allow a custom configuration via the AppConfiguration object.
Describe alternatives you've considered
N/A
Additional context
https://github.com/Progressive/oculr-ngx/blob/a6a98dc8f52c1430f9294e554d990e62231aae84/projects/oculr-ngx/src/lib/destinations/http-api/http-api.service.ts#L71
🚀 Feature request
Please describe what is needed
The retry strategy for failed HTTP calls in the
HttpApiServiceis currently hardcoded to:0We should give our consumers the ability to provide a custom strategy.
Describe the solution you'd like
The simplest way to achieve this would be to allow a custom configuration via the
AppConfigurationobject.Describe alternatives you've considered
N/A
Additional context
https://github.com/Progressive/oculr-ngx/blob/a6a98dc8f52c1430f9294e554d990e62231aae84/projects/oculr-ngx/src/lib/destinations/http-api/http-api.service.ts#L71