Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Http

Assembly: Cuemon.Extensions.AspNetCore.dll

The Cuemon.Extensions.AspNetCore.Http namespace contains extension methods that complements the Cuemon.AspNetCore.Http namespace while being an addition to the Microsoft.AspNetCore.Http namespace.

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

Complements: Cuemon.AspNetCore.Http namespace 📘

Extension Methods

Type Ext Methods
IHeaderDictionary ⬇️ AddOrUpdateHeaders, AddOrUpdateHeader
HttpRequest ⬇️ IsGetOrHeadMethod, IsClientSideResourceCached
HttpResponse ⬇️ AddOrUpdateEntityTagHeader, AddOrUpdateLastModifiedHeader, WriteBodyAsync, OnStartingInvokeTransformer
Int32 ⬇️ IsInformationStatusCode, IsSuccessStatusCode, IsRedirectionStatusCode, IsNotModifiedStatusCode, IsClientErrorStatusCode, IsServerErrorStatusCode

Classes

HeaderDictionaryExtensions

Extension methods for the Microsoft.AspNetCore.Http.IHeaderDictionary interface.

HttpExceptionDescriptorResponseFormatterExtensions

Extension methods for the IHttpExceptionDescriptorResponseFormatter interface.

HttpRequestExtensions

Extension methods for the Microsoft.AspNetCore.Http.HttpRequest class.

HttpResponseExtensions

Extension methods for the Microsoft.AspNetCore.Http.HttpResponse class.

Int32Extensions

Extension methods for the System.Int32 struct.