Partilhar via


ForwardedHeadersMiddleware Construtor

Definição

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

Parâmetros

next
RequestDelegate

O RequestDelegate que representa o próximo middleware no pipeline.

loggerFactory
ILoggerFactory

O ILoggerFactory usado para registro em log.

options
IOptions<ForwardedHeadersOptions>

O ForwardedHeadersOptions para configurar o middleware.

Aplica-se a