C# Class Microsoft.AspNetCore.Builder.ForwardedHeadersExtensions

Mostra file Open project: aspnet/BasicMiddleware

Public Methods

Method Description
UseForwardedHeaders ( this builder ) : IApplicationBuilder

Forwards proxied headers onto current request

UseForwardedHeaders ( this builder, ForwardedHeadersOptions options ) : IApplicationBuilder

Forwards proxied headers onto current request

Method Details

UseForwardedHeaders() public static method

Forwards proxied headers onto current request
public static UseForwardedHeaders ( this builder ) : IApplicationBuilder
builder this
return IApplicationBuilder

UseForwardedHeaders() public static method

Forwards proxied headers onto current request
public static UseForwardedHeaders ( this builder, ForwardedHeadersOptions options ) : IApplicationBuilder
builder this
options ForwardedHeadersOptions Enables the different forwarding options.
return IApplicationBuilder