parseHost

Parses a hostname

immutable(Host)
parseHost
(
string host
)

Parameters

host string

the Hostname to be parsed

Return Value

Type: immutable(Host)

A Host struct containing the the hostname elements (subdomain , paylevelDomain , tld ...).

Meta