pub fn put_async<U, B>(uri: U, body: B) -> 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>,
B: Into<AsyncBody>,
Expand description
Send a PUT request to the given URI asynchronously with a given request body.
The request is executed using a shared HttpClient
instance. See
HttpClient::put_async
for details.