Skip to main content

SleepyDiscord::WebSocketMessage

Public Types Documentation​

enum OPCode​

EnumeratorValueDescription
continuation0x0
text0x1
binary0x2
close0x8
ping0x9
pong0xA

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