Polyphase Game Engine
Loading...
Searching...
No Matches
WsDecoder::Event Struct Reference

#include <WebSocketFraming.h>

Public Types

enum  Type {
  None = 0 , Message , Ping , Pong ,
  Close
}
 

Public Attributes

Type mType = None
 
std::vector< uint8_t > mData
 
bool mBinary = false
 
uint16_t mCloseCode = 0
 
std::string mCloseReason
 

Member Enumeration Documentation

◆ Type

Enumerator
None 
Message 
Ping 
Pong 
Close 

Member Data Documentation

◆ mBinary

bool WsDecoder::Event::mBinary = false

◆ mCloseCode

uint16_t WsDecoder::Event::mCloseCode = 0

◆ mCloseReason

std::string WsDecoder::Event::mCloseReason

◆ mData

std::vector<uint8_t> WsDecoder::Event::mData

◆ mType

Type WsDecoder::Event::mType = None

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