Dela via


UriHelper.GetDisplayUrl(HttpRequest) Method

Definition

Returns the combined components of the request URL in a fully un-escaped form (except for the QueryString) suitable only for display. This format should not be used in HTTP headers or other HTTP operations.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetDisplayUrl(Microsoft::AspNetCore::Http::HttpRequest ^ request);
public static string GetDisplayUrl (this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetDisplayUrl : Microsoft.AspNetCore.Http.HttpRequest -> string
<Extension()>
Public Function GetDisplayUrl (request As HttpRequest) As String

Parameters

request
HttpRequest

The request to assemble the uri pieces from.

Returns

The combined components of the request URL in a fully un-escaped form (except for the QueryString) suitable only for display.

Applies to