[][src]Function chttp::put

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

Sends an HTTP PUT request.

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