Polyphase Game Engine
Loading...
Searching...
No Matches
WsDecoder Class Reference

#include <WebSocketFraming.h>

Classes

struct  Event
 

Public Member Functions

void Feed (const uint8_t *data, uint32_t size)
 
bool Next (Event &outEvent)
 
void SetMaxMessageBytes (uint32_t bytes)
 
bool HasError () const
 
WsError GetError () const
 
const std::string & GetErrorMessage () const
 

Member Function Documentation

◆ Feed()

void WsDecoder::Feed ( const uint8_t *  data,
uint32_t  size 
)

◆ GetError()

WsError WsDecoder::GetError ( ) const
inline

◆ GetErrorMessage()

const std::string & WsDecoder::GetErrorMessage ( ) const
inline

◆ HasError()

bool WsDecoder::HasError ( ) const
inline

◆ Next()

bool WsDecoder::Next ( Event &  outEvent)

◆ SetMaxMessageBytes()

void WsDecoder::SetMaxMessageBytes ( uint32_t  bytes)
inline

The documentation for this class was generated from the following files: