Table of Contents

Namespace Kampute.HttpClient.Interfaces

Interfaces

IHttpBackoffProvider

Defines a contract for creating retry schedulers tailored to specific retry strategies for HTTP requests.

IHttpContentDeserializer

Defines the functionality for deserializing an object from the HTTP request body.

IHttpErrorHandler

Defines a contract for handling HTTP error status codes and determining retry logic in HTTP requests.

IHttpErrorResponse

Defines an interface for handling HTTP error responses and converting them into a HttpResponseException.

IRetryScheduler

Defines 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.

IRetryStrategy

Defines a strategy for calculating the delay duration between retry attempts based on elapsed time and the number of attempts already made.