userver: clients::http::ResponseFuture Class Reference
No Matches
clients::http::ResponseFuture Class Referencefinal

#include <userver/clients/http/response_future.hpp>

Detailed Description

Allows to perform a request concurrently with other work without creating an extra coroutine for waiting.

Definition at line 29 of file response_future.hpp.

Public Member Functions

 ResponseFuture (ResponseFuture &&other) noexcept
ResponseFutureoperator= (ResponseFuture &&) noexcept
 ResponseFuture (const ResponseFuture &)=delete
ResponseFutureoperator= (const ResponseFuture &)=delete
void Cancel ()
void Detach ()
std::future_status Wait ()
std::shared_ptr< ResponseGet ()
void SetCancellationPolicy (CancellationPolicy cp)

The documentation for this class was generated from the following file: