URL.host

string host() @property const @safe

Return the host from the authority.

Returns

The host string.
void host(string value) @property @safe

Set the host in the authority.

Notes: This setter also marks the inner URI as having an authority so that toString() serializes using the //host form.

Parameters

valueHost string to set.