Udostępnij za pośrednictwem


ForwardedHeadersMiddleware Konstruktor

Definicja

Utwórz nowy element ForwardedHeadersMiddleware.

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))

Parametry

next
RequestDelegate

Element RequestDelegate reprezentujący następne oprogramowanie pośredniczące w potoku.

loggerFactory
ILoggerFactory

Element używany do rejestrowania ILoggerFactory .

options
IOptions<ForwardedHeadersOptions>

Element ForwardedHeadersOptions do konfigurowania oprogramowania pośredniczącego.

Dotyczy