Class PortalAddress
- Namespace
- Honua.Sdk.GeoServices.Portal
- Assembly
- Honua.Sdk.GeoServices.dll
Normalized Honua root and /sharing/rest addresses for the Portal facade client.
public sealed record PortalAddress : IEquatable<PortalAddress>
- Inheritance
-
PortalAddress
- Implements
- Inherited Members
Properties
RootAddress
Normalized absolute Honua server root address including any deployment path prefix, ending with /.
public required Uri RootAddress { get; init; }
Property Value
SharingRestAddress
Normalized absolute /sharing/rest/ endpoint base address, ending with /.
public required Uri SharingRestAddress { get; init; }
Property Value
Methods
Parse(string)
Parses a Honua root URL or /sharing/rest URL string into a normalized PortalAddress.
public static PortalAddress Parse(string portalUrl)
Parameters
portalUrlstring
Returns
Parse(Uri)
Parses a Honua root URL or /sharing/rest URL into a normalized PortalAddress.
public static PortalAddress Parse(Uri portalUrl)
Parameters
portalUrlUri
Returns
TryParse(string?, out PortalAddress?)
Tries to parse a Honua root URL or /sharing/rest URL into a normalized PortalAddress.
public static bool TryParse(string? portalUrl, out PortalAddress? address)
Parameters
portalUrlstringaddressPortalAddress
Returns
TryParse(Uri?, out PortalAddress?)
Tries to parse a Honua root URL or /sharing/rest URL into a normalized PortalAddress.
public static bool TryParse(Uri? portalUrl, out PortalAddress? address)
Parameters
portalUrlUriaddressPortalAddress