Partilhar via


RewriteMiddleware Classe

Definição

Representa um middleware que reescreve URLs

public ref class RewriteMiddleware
public class RewriteMiddleware
type RewriteMiddleware = class
Public Class RewriteMiddleware
Herança
RewriteMiddleware

Construtores

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

Cria uma nova instância de RewriteMiddleware

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)

Cria uma nova instância de RewriteMiddleware

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

Cria uma nova instância de RewriteMiddleware

Métodos

Invoke(HttpContext)

Executa o middleware.

Aplica-se a