UriHelper.GetEncodedUrl(HttpRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the combined components of the request URL in a fully escaped form suitable for use in HTTP headers and other HTTP operations.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ GetEncodedUrl(Microsoft::AspNetCore::Http::HttpRequest ^ request);
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
The request to assemble the uri pieces from.
Returns
The encoded string version of the URL from request
.