Table of Contents

Namespace Cuemon.Extensions.Net.Http

Assembly: Cuemon.Extensions.Net.dll

The Cuemon.Extensions.Net.Http namespace contains both types and extension methods that complements the Cuemon.Net namespace. Includes support for both traditional and factory based ways of working with HttpMangager instances while also including a simple and lightweight implementation of the IHttpClientFactory interface named SlimHttpClientFactory (that provides "managed" HttpClient instances).

Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0

Extension Methods

Type Ext Methods
HttpMethod ⬇️ ToHttpMethod
Uri ⬇️ HttpDeleteAsync, HttpGetAsync, HttpHeadAsync, HttpOptionsAsync, HttpPostAsync, HttpPutAsync, HttpPatchAsync, HttpTraceAsync, HttpAsync

Classes

HttpManagerFactory

Provides access to factory methods for creating and configuring HttpManager instances.

HttpMethodExtensions

This is an extension implementation of the System.Net.Http.HttpMethod class.

SlimHttpClientFactory

Provides a simple and lightweight implementation of the System.Net.Http.IHttpClientFactory interface.

SlimHttpClientFactoryOptions

Configuration options for SlimHttpClientFactory.

UriExtensions

Extension methods for the System.Uri struct.