Function isahc::put_async [−][src]
pub fn put_async<U, B>(uri: U, body: B) -> ResponseFuture<'static>ⓘwhereNotable traits for ResponseFuture<'_>
impl Future for ResponseFuture<'_> type Output = Result<Response<AsyncBody>, Error>;
Uri: TryFrom<U>,
<Uri as TryFrom<U>>::Error: Into<Error>,
B: Into<AsyncBody>,
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.