D++ (DPP)
C++ Discord API Bot Library
|
Represents the various information from the 'get gateway bot' api call. More...
#include <cluster.h>
Public Member Functions | |
gateway (nlohmann::json *j) | |
Construct a new gateway object. More... | |
Public Attributes | |
std::string | url |
Gateway websocket url. More... | |
uint32_t | shards |
Number of suggested shards to start. More... | |
uint32_t | session_start_total |
Total number of sessions that can be started. More... | |
uint32_t | session_start_remaining |
How many sessions are left. More... | |
uint32_t | session_start_reset_after |
How many seconds until the session start quota resets. More... | |
uint32_t | session_start_max_concurrency |
How many sessions can be started at the same time. More... | |
Represents the various information from the 'get gateway bot' api call.
dpp::gateway::gateway | ( | nlohmann::json * | j | ) |
Construct a new gateway object.
j | JSON data to construct from |
uint32_t dpp::gateway::session_start_max_concurrency |
How many sessions can be started at the same time.
uint32_t dpp::gateway::session_start_remaining |
How many sessions are left.
uint32_t dpp::gateway::session_start_reset_after |
How many seconds until the session start quota resets.
uint32_t dpp::gateway::session_start_total |
Total number of sessions that can be started.
uint32_t dpp::gateway::shards |
Number of suggested shards to start.
std::string dpp::gateway::url |
Gateway websocket url.