Class EntityTagCacheableValidator
- Assembly
- Cuemon.Extensions.AspNetCore.dll
An HTTP validator that conforms to the ETag response header.
public class EntityTagCacheableValidator : ICacheableValidator
- Inheritance
-
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
HttpContextThe Microsoft.AspNetCore.Http.HttpContext of the current request.
bodyStream
StreamThe intercepted Stream of the response body.