Class Middleware
- Namespace
- Cuemon.AspNetCore
- Assembly
- Cuemon.AspNetCore.dll
Provides a base-class for middleware implementation in ASP.NET Core.
public abstract class Middleware : MiddlewareCore
- Inheritance
-
Middleware
- Inherited Members
Constructors
Middleware(RequestDelegate)
Initializes a new instance of the Middleware class.
protected Middleware(RequestDelegate next)
Parameters
next
RequestDelegateThe delegate of the request pipeline to invoke.
Methods
InvokeAsync(HttpContext)
Executes the Middleware.
public abstract Task InvokeAsync(HttpContext context)
Parameters
context
HttpContextThe context of the current request.
Returns
- Task
A task that represents the execution of this middleware.