Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​IEndpointFilter

Assembly: Microsoft.AspNetCore.Http.Abstractions

Provides an interface for implementing a filter targetting a route handler.

Methods

InvokeAsync​(EndpointFilterInvocationContext context, EndpointFilterDelegate next)
Implements the core logic associated with the filter given a <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" /> and the next filter to call in the pipeline.
Returns An awaitable result of calling the handler and apply any modifications made by filters in the pipeline.
context The <see cref="T:Microsoft.AspNetCore.Http.EndpointFilterInvocationContext" /> associated with the current request/response.
next The next filter in the pipeline.