C# Класс Canonicalize.HttpRequestBaseExtensions

Adds extension methods on HttpRequestBase.
Показать файл Открыть проект

Открытые методы

Метод Описание
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