Function isahc::head_async
source · [−]pub fn head_async<U>(uri: U) -> ResponseFuture<'static>ⓘNotable traits for ResponseFuture<'_>impl Future for ResponseFuture<'_> type Output = Result<Response<AsyncBody>, Error>;
where
Uri: TryFrom<U>,
<Uri as TryFrom<U>>::Error: Into<Error>,
Expand description
Send a HEAD request to the given URI asynchronously.
The request is executed using a shared HttpClient
instance. See
HttpClient::head_async
for details.