pub fn put<U, B>(uri: U, body: B) -> Result<Response<Body>, Error> where
Uri: TryFrom<U>,
<Uri as TryFrom<U>>::Error: Into<Error>,
B: Into<Body>,
Expand description
Send a PUT request to the given URI with a given request body.
The request is executed using a shared HttpClient
instance. See
HttpClient::put
for details.