Skip to main content

parse_url_answer

Function parse_url_answer 

Source
pub fn parse_url_answer(answer: &str) -> UrlAnswer
Expand description

A bare host is taken as https; anything that is then not an absolute http(s) URL is invalid.