Skip to main content

extract_raw_host

Function extract_raw_host 

Source
pub fn extract_raw_host(url_str: &str) -> Option<String>
Expand description

Extract raw authority (host portion) from a URL string before IDNA normalization. Handles IPv6, userinfo, port, and percent-encoded separators.