RewriteMiddleware Class

Definition

Represents a middleware that rewrites urls

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

Constructors

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, IOptions<RewriteOptions>)

Creates a new instance of RewriteMiddleware

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)

Creates a new instance of RewriteMiddleware

RewriteMiddleware(RequestDelegate, IWebHostEnvironment, ILoggerFactory, IOptions<RewriteOptions>)

Creates a new instance of RewriteMiddleware

Methods

Invoke(HttpContext)

Executes the middleware.

Applies to