Share via


UriHelper.GetEncodedPathAndQuery(HttpRequest) Method

Definition

Returns the relative URI.

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

Parameters

request
HttpRequest

The request to assemble the uri pieces from.

Returns

The path and query off of request.

Applies to