Function check_url

Source
pub fn check_url(url: &Url) -> Result<(), Error>
Available on crate feature auth only.
Expand description

Checks whether the given URL has the scheme matching SCHEME.

ยงErrors

Returns Error when the URL scheme does not match SCHEME.