pub fn host_of(url: &str) -> Result<Option<String>, AxError>Expand description
The host a URL names, when it names one.
One authority for the whole workspace: the browser tool reading a page
address and a building reading the address a person declared for
their browser are the same question, and two parsers would answer it
differently the first time either was corrected. No URL parser: only
the authority component is asked for, and about:blank or a file:
path names no host.
ยงErrors
Refuses an authority this build cannot read, which would leave an egress unjudged.