Freigeben über


ForwardedHeadersMiddleware Konstruktor

Definition

Erstellen Sie ein neues ForwardedHeadersMiddleware-Element.

public:
 ForwardedHeadersMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::ForwardedHeadersOptions ^> ^ options);
public ForwardedHeadersMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.ForwardedHeadersOptions> options);
new Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.ForwardedHeadersOptions> -> Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of ForwardedHeadersOptions))

Parameter

next
RequestDelegate

Die , RequestDelegate die die nächste Middleware in der Pipeline darstellt.

loggerFactory
ILoggerFactory

Die für die ILoggerFactory Protokollierung verwendete.

options
IOptions<ForwardedHeadersOptions>

Die ForwardedHeadersOptions zum Konfigurieren der Middleware.

Gilt für: