Retrieves the host component of a parsed URL (hostname + port). Returns an empty string if the URL is invalid or no host is present.
The ada_url handle.
An ada_string containing the host.
See Implementation
Retrieves the host component of a parsed URL (hostname + port). Returns an empty string if the URL is invalid or no host is present.