AlphaLimits concurrent HTTP attempts of the requests the policies match. The limit is held per attempt, not across retries or backoff.
This functionality is experimental. Breaking changes are to be expected in any release, including patch and minor versions.
The
RetryableHttpClientclass extends the functionality of a basic HTTP client by adding automatic retry logic for failed requests. This is particularly useful for improving the resilience of applications that depend on unreliable network connections or external services that may experience intermittent failures.This class includes methods for:
The
RetryableHttpClientis designed to be used in scenarios where you need to make HTTP requests that may occasionally fail and need to be retried. It ensures that transient errors do not cause the application to fail, improving overall reliability and user experience.Remarks
This class builds on top of a basic HTTP client and adds retry logic. It uses custom error handling and response parsing methods to ensure that retries are only attempted for transient errors and not for permanent failures.
See