Function isahc::post_async [−][src]
pub fn post_async<U>(uri: U, body: impl Into<Body>) -> ResponseFuture<'static>ⓘwhereNotable traits for ResponseFuture<'_>
impl Future for ResponseFuture<'_> type Output = Result<Response<Body>, Error>;
Uri: TryFrom<U>,
<Uri as TryFrom<U>>::Error: Into<Error>,
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.