Function url::quirks::protocol [] [src]

pub fn protocol(url: &Url) -> &str

Getter for https://url.spec.whatwg.org/#dom-url-protocol