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

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

#include <userver/clients/http/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 ()
 

Detailed Description

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

Definition at line 28 of file response_future.hpp.


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