Name
url:GetHost -- get host part of URL (V2.0)
Synopsis
host$ = url:GetHost([flags])
Function
Gets the host name. If it is an IPv6 numeric address, the zone id will not be part of it but can be retrieved separately using url:GetZoneID(). IPv6 numerical addresses are returned within brackets ([]).

The optional flags parameter can be a combination of flags as described in the documentation of the hurl.URL() function. See hurl.URL for details.

Inputs
flags
optional: combination of flags
Results
host$
host part of URL

Show TOC