Concord - C Discord API library
A Discord API wrapper library written in C
discord_rest Struct Reference

The handle used for interfacing with Discord's REST API. More...

#include <discord-internal.h>

Collaboration diagram for discord_rest:
[legend]

Data Fields

struct logconf conf
 
struct discord_requestor requestor
 
struct discord_timers timers
 
struct io_poller * io_poller
 
struct threadpool_ttpool
 

Detailed Description

The handle used for interfacing with Discord's REST API.

This handle will manage the special REST thread where requests are performed in

Field Documentation

◆ conf

struct logconf discord_rest::conf

DISCORD_HTTP or DISCORD_WEBHOOK logging module

◆ requestor

struct discord_requestor discord_rest::requestor

the requests handler

◆ timers

struct discord_timers discord_rest::timers

the timer queue for the rest thread

◆ io_poller

struct io_poller* discord_rest::io_poller

poller for REST requests

◆ tpool

struct threadpool_t* discord_rest::tpool

threadpool for managing the REST thread


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