Function isahc::get_async [−][src]
pub fn get_async<U>(uri: U) -> ResponseFuture<'static>ⓘwhereNotable traits for ResponseFuture<'_>
impl Future for ResponseFuture<'_> type Output = Result<Response<Body>, Error>;
Uri: TryFrom<U>,
<Uri as TryFrom<U>>::Error: Into<Error>,
Send a GET request to the given URI asynchronously.
The request is executed using a shared HttpClient
instance. See
HttpClient::get_async
for details.