C# 클래스 Canonicalize.HttpRequestBaseExtensions

Adds extension methods on HttpRequestBase.
파일 보기 프로젝트 열기: schourode/canonicalize

공개 메소드들

메소드 설명
GetOriginalUrl ( this request ) : Uri

Gets the original URL requested by the client, without artifacts from proxies or load balancers. In particular HTTP headers Host, X-Forwarded-Host, X-Forwarded-Proto are applied on top of HttpRequestBase.Url.

메소드 상세

GetOriginalUrl() 공개 정적인 메소드

Gets the original URL requested by the client, without artifacts from proxies or load balancers. In particular HTTP headers Host, X-Forwarded-Host, X-Forwarded-Proto are applied on top of HttpRequestBase.Url.
public static GetOriginalUrl ( this request ) : Uri
request this The request for which the original URL should be computed.
리턴 System.Uri