HostPort

Parse an authority string into Host and Port <p> Parse a string in the form "host:port", handling IPv4 an IPv6 hosts </p>

Constructors

this
this(string authority)
Undocumented in source.

Members

Functions

getHost
string getHost()

Get the host.

getPort
int getPort()

Get the port.

getPort
int getPort(int defaultPort)

Get the port.

Static functions

normalizeHost
string normalizeHost(string host)

Normalize IPv6 address as per https://www.ietf.org/rfc/rfc2732.txt

Meta