![]() |
D++ (DPP)
C++ Discord API Bot Library
|
The results of a REST call wrapped in a convenient struct. More...
#include <cluster.h>
Collaboration diagram for dpp::confirmation_callback_t:Public Member Functions | |
| confirmation_callback_t ()=default | |
| Construct a new confirmation callback t object. More... | |
| confirmation_callback_t (const std::string &_type, const confirmable_t &_value, const http_request_completion_t &_http) | |
| Construct a new confirmation callback object. More... | |
Public Attributes | |
| http_request_completion_t | http_info |
| std::string | type |
| confirmable_t | value |
The results of a REST call wrapped in a convenient struct.
|
default |
Construct a new confirmation callback t object.
| dpp::confirmation_callback_t::confirmation_callback_t | ( | const std::string & | _type, |
| const confirmable_t & | _value, | ||
| const http_request_completion_t & | _http | ||
| ) |
Construct a new confirmation callback object.
| _type | The type of callback that is encapsulated in the confirmable_t |
| _value | The value to encapsulate in the confirmable_t |
| _http | The HTTP metadata from the REST call |
| http_request_completion_t dpp::confirmation_callback_t::http_info |
Information about the HTTP call used to make the request
| std::string dpp::confirmation_callback_t::type |
Returned data type in confirmable_t, used to double check to avoid an exception if you wish
| confirmable_t dpp::confirmation_callback_t::value |
Value returned, wrapped in variant