Concord - C Discord API library
A Discord API wrapper library written in C
|
The handle used for handling asynchronous requests. More...
#include <discord-internal.h>
Data Fields | |
struct logconf | conf |
struct user_agent * | ua |
CURLM * | mhandle |
struct discord_ratelimiter | ratelimiter |
int | retry_limit |
struct { | |
} * | queues |
struct { | |
pthread_mutex_t recycling | |
pthread_mutex_t pending | |
pthread_mutex_t finished | |
} * | qlocks |
The handle used for handling asynchronous requests.
struct logconf discord_requestor::conf |
DISCORD_REQUEST
logging module
struct user_agent* discord_requestor::ua |
the user agent handle for performing requests
CURLM* discord_requestor::mhandle |
curl_multi handle for performing asynchronous requests
struct discord_ratelimiter discord_requestor::ratelimiter |
enforce Discord's ratelimiting for requests
int discord_requestor::retry_limit |
max amount of retries before a failed request gives up
struct { ... } * discord_requestor::queues |
request queues
pthread_mutex_t discord_requestor::recycling |
recycling queue lock
pthread_mutex_t discord_requestor::pending |
pending queue lock
pthread_mutex_t discord_requestor::finished |
finished queue lock
struct { ... } * discord_requestor::qlocks |
queue locks