Orca
A bot framework that is easy to reason about, easy to debug, and easy to use.
Public Attributes | List of all members
discord_adapter Struct Reference

The handle used for performing HTTP Requests. More...

#include <discord-internal.h>

Collaboration diagram for discord_adapter:
Collaboration graph
[legend]

Public Attributes

struct user_agent * ua
 The user agent handle for performing requests.
 
struct {
   struct discord_bucket *   buckets
 Endpoint/routes discovered, check a endpoint/bucket match with tree search functions.
 
   pthread_mutex_t   lock
 Mutex used when adding to or searching for buckets.
 
ratelimit
 
struct discordp_client
 pointer to client this struct is part of
 

Detailed Description

The handle used for performing HTTP Requests.

This is a wrapper over struct user_agent

See also
user-agent.h

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