Bagikan melalui


RewriteMiddleware Kelas

Definisi

Mewakili middleware yang menulis ulang url

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

Konstruktor

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

Membuat instans baru RewriteMiddleware

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)

Membuat instans baru RewriteMiddleware

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

Membuat instans baru RewriteMiddleware

Metode

Invoke(HttpContext)

Menjalankan middleware.

Berlaku untuk