Skip to main content

shown_site

Function shown_site 

Source
fn shown_site(url: &str) -> String
Expand description

The host of url (no scheme, sign-in, path or query). An address with no host (data:, about:, javascript:) shows its scheme only, since the rest of it can be anything the page or the agent wrote; text that is not an address shows nothing.