Host

A parsed hostname.

Members

Functions

toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

paylevelDomain
paylevelDomain [@property getter]

The part of a hostname, that is before (right of) the subdomains.

subdomain
subdomain [@property getter]

The part of a hostname, that is after (left of) the paylevelDomain.

tld
tld [@property getter]

The TLD or ccSLD.TLD.

Variables

host
string host;

The original hostname.

isIP
bool isIP;

True if the hostname is a IP (IPv4 or IPv6).

lowlevelDomain
string lowlevelDomain;

The part of the domain between the subdomain and tld/ccSLD.

reglevels
string[] reglevels;

A list of TLD or ccSLD and TLD.

subdomains
string[] subdomains;

A list of subdomains.

Meta