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