Retrieves the origin of a parsed URL (e.g., protocol + host + port). Returns an empty string if the URL is invalid.
The ada_url handle.
An ada_owned_string containing the origin, which must be freed with ada_free_owned_string.
See Implementation
Retrieves the origin of a parsed URL (e.g., protocol + host + port). Returns an empty string if the URL is invalid.