TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ttk::WebSocketIO::Message Struct Reference

#include <WebSocketIO.h>

Public Member Functions

 Message (const std::string &msg)
 
 Message (const size_t &sizeInBytes, const void *data)
 
 Message (const Message &msg)
 

Public Attributes

size_t binaryPayloadSize {0}
 
const void * binaryPayload {nullptr}
 
std::string stringPayload
 

Detailed Description

Definition at line 53 of file WebSocketIO.h.

Constructor & Destructor Documentation

◆ Message() [1/3]

ttk::WebSocketIO::Message::Message ( const std::string &  msg)
inline

Definition at line 57 of file WebSocketIO.h.

◆ Message() [2/3]

ttk::WebSocketIO::Message::Message ( const size_t &  sizeInBytes,
const void *  data 
)
inline

Definition at line 60 of file WebSocketIO.h.

◆ Message() [3/3]

ttk::WebSocketIO::Message::Message ( const Message msg)
inline

Definition at line 63 of file WebSocketIO.h.

Member Data Documentation

◆ binaryPayload

const void* ttk::WebSocketIO::Message::binaryPayload {nullptr}

Definition at line 55 of file WebSocketIO.h.

◆ binaryPayloadSize

size_t ttk::WebSocketIO::Message::binaryPayloadSize {0}

Definition at line 54 of file WebSocketIO.h.

◆ stringPayload

std::string ttk::WebSocketIO::Message::stringPayload

Definition at line 56 of file WebSocketIO.h.


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