Function chttp::put

source ·
pub fn put<U>(uri: U, body: impl Into<Body>) -> Result<Response, Error>where
    Uri: HttpTryFrom<U>,
Expand description

Sends an HTTP PUT request.

The response body is provided as a stream that may only be consumed once.