Concord - C Discord API library
A Discord API wrapper library written in C

Client's session status. More...

Collaboration diagram for Client's session status:

Macros

#define DISCORD_SESSION_OFFLINE   0u
 
#define DISCORD_SESSION_RESUMABLE   1u << 0
 
#define DISCORD_SESSION_SHUTDOWN   1u << 1
 

Detailed Description

Client's session status.

Macro Definition Documentation

◆ DISCORD_SESSION_OFFLINE

#define DISCORD_SESSION_OFFLINE   0u

client is currently offline

◆ DISCORD_SESSION_RESUMABLE

#define DISCORD_SESSION_RESUMABLE   1u << 0

client will attempt to resume session after reconnect

◆ DISCORD_SESSION_SHUTDOWN

#define DISCORD_SESSION_SHUTDOWN   1u << 1

client in the process of being shutdown