Function env_proxy::for_url_str [] [src]

pub fn for_url_str<S: AsRef<str>>(s: S) -> ProxyUrl

Determine proxy parameters for a URL given as a string.

Convert the given string to a URL and pass it to for_url(), returning its result. If the conversion of the input argument fails, return None.