Kampute.HttpClient.Interfaces Namespace

This namespace defines interfaces used throughout the library.

Interfaces

IHttpBackoffProviderDefines a contract for creating retry schedulers tailored to specific retry strategies for HTTP requests.
IHttpContentDeserializerDefines the functionality for deserializing an object from the HTTP request body.
IHttpErrorHandlerDefines a contract for handling HTTP error status codes and determining retry logic in HTTP requests.
IHttpErrorResponseDefines an interface for handling HTTP error responses and converting them into a HttpResponseException.
IRetrySchedulerDefines a contract for scheduling retry attempts for an operation. This includes determining if a retry is appropriate and managing the waiting period before the next attempt.
IRetryStrategyDefines a strategy for calculating the delay duration between retry attempts based on elapsed time and the number of attempts already made.