Returns the host part of the authority component.
Returns the empty string if there is no authority component and hence no host.
If the host is an IP version 6 address, the surrounding [
and ]
is
removed.
Returns the host part of the authority component.
Returns the empty string if there is no authority component and hence no host.
If the host is an IP version 6 address, the surrounding [
and ]
is
removed.