SleepyDiscord::WebSocketMessage
Public Types Documentation​
enum OPCode​
Enumerator | Value | Description |
---|---|---|
continuation | 0x0 | |
text | 0x1 | |
binary | 0x2 | |
close | 0x8 | |
ping | 0x9 | |
pong | 0xA |
using OPCodeType​
using SleepyDiscord::WebSocketMessage::OPCodeType = OPCode;
Public Attributes Documentation​
variable opCode​
OPCodeType opCode = text;
variable payload​
const std::string & payload;
variable lifetime​
std::shared_ptr< void > lifetime;
Updated on 13 April 2022 at 18:39:59 UTC