Table of Contents

Class EntityTagCacheableValidator

Namespace
Cuemon.Extensions.AspNetCore.Http.Headers
Assembly
Cuemon.Extensions.AspNetCore.dll

An HTTP validator that conforms to the ETag response header.

public class EntityTagCacheableValidator : ICacheableValidator
Inheritance
Object
EntityTagCacheableValidator
Implements
Extension Methods

Methods

ProcessAsync(HttpContext, Stream)

Called asynchronously before the bodyStream is conditionally written to the response.

public Task ProcessAsync(HttpContext context, Stream bodyStream)

Parameters

context HttpContext

The Microsoft.AspNetCore.Http.HttpContext of the current request.

bodyStream Stream

The intercepted System.IO.Stream of the response body.

Returns

Task

A System.Threading.Tasks.Task that represents the execution of this validator.

See Also