[go: up one dir, main page]

Function post_async

Source
pub fn post_async<U>(uri: U, body: impl Into<Body>) -> ResponseFuture<'static> 
where Uri: HttpTryFrom<U>,
Expand description

Send a POST request to the given URI asynchronously with a given request body.

The request is executed using a shared HttpClient instance. See HttpClient::post_async for details.