isahc

Function get

Source
pub fn get<U>(uri: U) -> Result<Response<Body>, Error>
where Uri: TryFrom<U>, <Uri as TryFrom<U>>::Error: Into<Error>,
Expand description

Send a GET request to the given URI.

The request is executed using a shared HttpClient instance. See HttpClient::get for details.