userver: clients::http::ResponseFuture Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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: