Table of Contents

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 RequestDelegate

The delegate of the request pipeline to invoke.

Methods

InvokeAsync(HttpContext)

Executes the Middleware.

public abstract Task InvokeAsync(HttpContext context)

Parameters

context HttpContext

The context of the current request.

Returns

Task

A task that represents the execution of this middleware.