Table of Contents

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

Uri

SharingRestAddress

Normalized absolute /sharing/rest/ endpoint base address, ending with /.

public required Uri SharingRestAddress { get; init; }

Property Value

Uri

Methods

Parse(string)

Parses a Honua root URL or /sharing/rest URL string into a normalized PortalAddress.

public static PortalAddress Parse(string portalUrl)

Parameters

portalUrl string

Returns

PortalAddress

Parse(Uri)

Parses a Honua root URL or /sharing/rest URL into a normalized PortalAddress.

public static PortalAddress Parse(Uri portalUrl)

Parameters

portalUrl Uri

Returns

PortalAddress

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

portalUrl string
address PortalAddress

Returns

bool

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

portalUrl Uri
address PortalAddress

Returns

bool