Table of Contents

Namespace Kampute.HttpClient

Classes

AuthSchemes

Provides constants for common HTTP authentication schemes.

BackoffStrategies

Provides a collection of factory methods for creating instances of different retry strategies.

HttpContentDeserializerCollection

Represents a specialized collection of IHttpContentDeserializer instances.

HttpContentException

The exception that is thrown when an invalid or unsupported content is encountered in an HTTP response.

HttpContentExtensions

Provides extension methods for HttpContent to enhance functionality related to HTTP content processing.

HttpErrorHandlerCollection

Represents a specialized collection of IHttpErrorHandler instances.

HttpRequestErrorContext

Represents the context of an HTTP request error, encapsulating details about the request, the error encountered, and the client that sent the request.

HttpRequestMessageEventArgs

Provides event data for events that involve manipulation or inspection of HTTP request messages.

HttpRequestMessageExtensions

Provides extension methods for HttpRequestMessage to enhance functionality related to HTTP request processing.

HttpRequestMessagePropertyKeys

Defines constant keys for storing and identifying custom properties in an HttpRequestMessage.

HttpRequestScope

Represents a scope of properties and headers that can be used for HttpRestClient requests.

HttpResponseErrorContext

Represents the context of an HTTP response error, providing information about the HTTP request, the client that sent the request, the error encountered, and the response that indicates failure.

HttpResponseException

Represents an exception that is thrown when an HTTP request results in a failure HTTP status code.

HttpResponseHeadersExtensions

Provides extension methods for HttpResponseHeaders to facilitate HTTP response processing.

HttpResponseMessageEventArgs

Provides event data for events related to the receipt of HTTP responses.

HttpRestClient

Facilitates HTTP communication with RESTful APIs by wrapping HttpClient.

HttpRestClientExtensions

Provides extension methods for HttpRestClient to facilitate sending HTTP requests using various methods, including GET, POST, PUT, PATCH, and DELETE.

HttpRestClientFormExtensions

Provides extension methods for HttpRestClient to support sending HTTP requests with URL-encoded form content.

HttpVerb

A helper class for retrieving the standard HTTP methods.

MediaTypeHeaderValueStore

Provides a cache for MediaTypeWithQualityHeaderValue instances to improve performance by reusing instances for frequently requested media types and quality settings.

MediaTypeNames

Provides constants for common media type names used in MIME content types.

MediaTypeNames.Application

Represents media type names for application content types.

MediaTypeNames.Audio

Represents media type names for audio content types.

MediaTypeNames.Image

Represents media type names for image content types.

MediaTypeNames.Text

Represents media type names for text content types.

MediaTypeNames.Video

Represents media type names for video content types.

Structs

HttpErrorHandlerResult

Represents the outcome of an HTTP error handling attempt by a specific handler, indicating whether it determines a failed request should be retried.

HttpRequestMessageCloneManager

Manages clones of HttpRequestMessage for retry operations.