C# Class Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware

Exibir arquivo Open project: aspnet/BasicMiddleware

Public Methods

Method Description
ApplyForwarders ( HttpContext context ) : void
ForwardedHeadersMiddleware ( RequestDelegate next, ILoggerFactory loggerFactory, IOptions options ) : System
Invoke ( HttpContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
CheckKnownAddress ( IPAddress address ) : bool

Method Details

ApplyForwarders() public method

public ApplyForwarders ( HttpContext context ) : void
context HttpContext
return void

ForwardedHeadersMiddleware() public method

public ForwardedHeadersMiddleware ( RequestDelegate next, ILoggerFactory loggerFactory, IOptions options ) : System
next RequestDelegate
loggerFactory ILoggerFactory
options IOptions
return System

Invoke() public method

public Invoke ( HttpContext context ) : System.Threading.Tasks.Task
context HttpContext
return System.Threading.Tasks.Task