[go: up one dir, main page]

Function put

Source
pub fn put<U>(uri: U, body: impl Into<Body>) -> Result<Response<Body>, Error>
where Uri: HttpTryFrom<U>,
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.