Skip to main content

check_url

Function check_url 

Source
pub fn check_url(url: &str) -> Result<()>
Expand description

Refuse a target the browser transport cannot reach, with the reason; natively every URL reqwest accepts is accepted. Call it where a client takes its base URL, so an https:// target in the browser fails at connect, naming why, rather than on its first request.