ForwardedHeadersExtensions.UseForwardedHeaders 메서드

정의

오버로드

UseForwardedHeaders(IApplicationBuilder)

현재 요청에서 일치하는 필드에 전달된 헤더를 적용합니다.

규칙에 따라 HTTP는 잘 알려진 HTTP 헤더에서 클라이언트의 정보를 전달합니다. 는 ForwardedHeadersMiddleware 이러한 헤더를 읽고 HttpContext의 연결된 필드를 채웁니다.

UseForwardedHeaders(IApplicationBuilder, ForwardedHeadersOptions)

현재 요청에서 일치하는 필드에 전달된 헤더를 적용합니다.

규칙에 따라 HTTP는 잘 알려진 HTTP 헤더에서 클라이언트의 정보를 전달합니다. 는 ForwardedHeadersMiddleware 이러한 헤더를 읽고 HttpContext의 연결된 필드를 채웁니다.

UseForwardedHeaders(IApplicationBuilder)

현재 요청에서 일치하는 필드에 전달된 헤더를 적용합니다.

규칙에 따라 HTTP는 잘 알려진 HTTP 헤더에서 클라이언트의 정보를 전달합니다. 는 ForwardedHeadersMiddleware 이러한 헤더를 읽고 HttpContext의 연결된 필드를 채웁니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseForwardedHeaders(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForwardedHeaders (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseForwardedHeaders : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseForwardedHeaders (builder As IApplicationBuilder) As IApplicationBuilder

매개 변수

반환

작업이 완료된 후 에 대한 참조 builder 입니다.

적용 대상

UseForwardedHeaders(IApplicationBuilder, ForwardedHeadersOptions)

현재 요청에서 일치하는 필드에 전달된 헤더를 적용합니다.

규칙에 따라 HTTP는 잘 알려진 HTTP 헤더에서 클라이언트의 정보를 전달합니다. 는 ForwardedHeadersMiddleware 이러한 헤더를 읽고 HttpContext의 연결된 필드를 채웁니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseForwardedHeaders(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder, Microsoft::AspNetCore::Builder::ForwardedHeadersOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForwardedHeaders (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Microsoft.AspNetCore.Builder.ForwardedHeadersOptions options);
static member UseForwardedHeaders : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.ForwardedHeadersOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseForwardedHeaders (builder As IApplicationBuilder, options As ForwardedHeadersOptions) As IApplicationBuilder

매개 변수

options
ForwardedHeadersOptions

다양한 전달 옵션을 사용하도록 설정합니다.

반환

작업이 완료된 후 에 대한 참조 builder 입니다.

적용 대상