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.​IMiddleware

Assembly: Microsoft.AspNetCore.Http.Abstractions

Defines middleware that can be added to the application's request pipeline.

Methods

InvokeAsync​(HttpContext context, RequestDelegate next)
Request handling method.
Returns A <see cref="T:System.Threading.Tasks.Task" /> that represents the execution of this middleware.
context The <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> for the current request.
next The delegate representing the remaining middleware in the request pipeline.