UriHelper.GetEncodedUrl(HttpRequest) UriHelper.GetEncodedUrl(HttpRequest) UriHelper.GetEncodedUrl(HttpRequest) Method

Definition

Returns the combined components of the request URL in a fully escaped form suitable for use in HTTP headers and other HTTP operations.

public static string GetEncodedUrl (this Microsoft.AspNetCore.Http.HttpRequest request);
static member GetEncodedUrl : Microsoft.AspNetCore.Http.HttpRequest -> string
<Extension()>
Public Function GetEncodedUrl (request As HttpRequest) As String

Parameters

request
HttpRequest HttpRequest HttpRequest

The request to assemble the uri pieces from.

Returns

Applies to