ASIO Client Server Framework
Loading...
Searching...
No Matches
acsf::Message Struct Reference

A message received from the other side. More...

#include <protocol.h>

Public Attributes

uint64_t isFrom = 0
bool isHeartBeat = false
std::string payload

Detailed Description

A message received from the other side.

Member Data Documentation

◆ isFrom

uint64_t acsf::Message::isFrom = 0

Id of the sender. On a server this is the client's id.

◆ isHeartBeat

bool acsf::Message::isHeartBeat = false

True if this is a heartbeat.

◆ payload

std::string acsf::Message::payload

The message body.


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