#include <userver/clients/http/response_future.hpp>
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 | |
ResponseFuture & | operator= (ResponseFuture &&) noexcept |
ResponseFuture (const ResponseFuture &)=delete | |
ResponseFuture & | operator= (const ResponseFuture &)=delete |
void | Cancel () |
void | Detach () |
std::future_status | Wait () |
std::shared_ptr< Response > | Get () |
void | SetCancellationPolicy (CancellationPolicy cp) |