Dela via


RouterMiddleware Class

Definition

Middleware responsible for routing.

public ref class RouterMiddleware
public class RouterMiddleware
type RouterMiddleware = class
Public Class RouterMiddleware
Inheritance
RouterMiddleware

Constructors

RouterMiddleware(RequestDelegate, ILoggerFactory, IRouter)

Constructs a new RouterMiddleware instance with a given router.

Methods

Invoke(HttpContext)

Evaluates the handler associated with the RouteContext derived from httpContext.

Applies to