pub fn from_string(
url: &str,
timeout: Option<Duration>,
) -> Result<Response, Error>Expand description
Given a string, it will be parsed as a URL and the HTTP timings will be measured
ยงErrors
This function will return an error if the URL is invalid or the URL is not reachable.
It could also error under any scenario in the error::Error enum.