Kampute.HttpClient Namespace

This namespace contains classes and methods for making HTTP requests and handling responses.

Classes

AuthSchemesProvides constants for common HTTP authentication schemes.
BackoffStrategiesProvides a collection of factory methods for creating instances of different retry strategies.
HttpContentDeserializerCollectionRepresents a specialized collection of IHttpContentDeserializer instances.
HttpContentExceptionThe exception that is thrown when an invalid or unsupported content is encountered in an HTTP response.
HttpContentExtensionsProvides extension methods for HttpContent to enhance functionality related to HTTP content processing.
HttpErrorHandlerCollectionRepresents a specialized collection of IHttpErrorHandler instances.
HttpRequestErrorContextRepresents the context of an HTTP request error, encapsulating details about the request, the error encountered, and the client that sent the request.
HttpRequestMessageEventArgsProvides event data for events that involve manipulation or inspection of HTTP request messages.
HttpRequestMessageExtensionsProvides extension methods for HttpRequestMessage to enhance functionality related to HTTP request processing.
HttpRequestMessagePropertyKeysDefines constant keys for storing and identifying custom properties in an HttpRequestMessage.
HttpRequestScopeRepresents a scope of properties and headers that can be used for HttpRestClient requests.
HttpResponseErrorContextRepresents 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.
HttpResponseExceptionRepresents an exception that is thrown when an HTTP request results in a failure HTTP status code.
HttpResponseHeadersExtensionsProvides extension methods for HttpResponseHeaders to facilitate HTTP response processing.
HttpResponseMessageEventArgsProvides event data for events related to the receipt of HTTP responses.
HttpRestClientFacilitates HTTP communication with RESTful APIs by wrapping HttpClient.
HttpRestClientExtensionsProvides extension methods for HttpRestClient to facilitate sending HTTP requests using various methods, including GET, POST, PUT, PATCH, and DELETE.
HttpRestClientFormExtensionsProvides extension methods for HttpRestClient to support sending HTTP requests with URL-encoded form content.
HttpVerbA helper class for retrieving the standard HTTP methods.
MediaTypeHeaderValueStoreProvides a cache for MediaTypeWithQualityHeaderValue instances to improve performance by reusing instances for frequently requested media types and quality settings.
MediaTypeNamesProvides constants for common media type names used in MIME content types.
MediaTypeNames.ApplicationRepresents media type names for application content types.
MediaTypeNames.AudioRepresents media type names for audio content types.
MediaTypeNames.ImageRepresents media type names for image content types.
MediaTypeNames.TextRepresents media type names for text content types.
MediaTypeNames.VideoRepresents media type names for video content types.

Structs

HttpErrorHandlerResultRepresents the outcome of an HTTP error handling attempt by a specific handler, indicating whether it determines a failed request should be retried.
HttpRequestMessageCloneManagerManages clones of HttpRequestMessage for retry operations.