ForwardedHeadersMiddleware Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new 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))
Parameters
- next
- RequestDelegate
The RequestDelegate representing the next middleware in the pipeline.
- loggerFactory
- ILoggerFactory
The ILoggerFactory used for logging.
- options
- IOptions<ForwardedHeadersOptions>
The ForwardedHeadersOptions for configuring the middleware.