HttpRequestExtensionsGetEffectiveUrl Method (Uri, Boolean) |
Returns effective URL with correct port number based on
IsSSL property for
Url property.
Namespace: CMS.Helpers.ExtensionsAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static Uri GetEffectiveUrl(
Uri url,
bool isSecureConnection
)
Parameters
- url
- Type: SystemUri
Url of current request. - isSecureConnection
- Type: SystemBoolean
Indication whether HTTP connection uses secure sockets.
Return Value
Type:
UriRemarks
This API supports the framework infrastructure and is not intended to be used directly from your code.
See Also