Function isahc::send_async
source · [−]pub fn send_async<B: Into<AsyncBody>>(
request: Request<B>
) -> ResponseFuture<'static>ⓘNotable traits for ResponseFuture<'_>impl Future for ResponseFuture<'_> type Output = Result<Response<AsyncBody>, Error>;
Expand description
Send an HTTP request and return the HTTP response asynchronously.
The request is executed using a shared HttpClient
instance. See
HttpClient::send_async
for details.