Namespace Cuemon.Extensions.Net.Http
Assembly: Cuemon.Extensions.Net.dll
Execute GET, POST, PUT, DELETE, PATCH, and other HTTP requests in a single line of code from a Uri without manually creating and configuring HttpClient. Use this namespace when you need concise HTTP calls from URI values. Start with HttpGetAsync on Uri for simple GET requests, or the generic HttpAsync method for any HTTP method.
Availability: .NET 10, .NET 9 and .NET Standard 2.0
Extension Members
| 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 HttpMethod class.
SlimHttpClientFactory
Provides a simple and lightweight implementation of the IHttpClientFactory interface.
SlimHttpClientFactoryOptions
Configuration options for SlimHttpClientFactory.
UriExtensions
Extension methods for the Uri struct.