qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
qb::protocol::text::basic_text< _IO_, _StringTrait, _Sep >::message Struct Reference

Structure representing a text message. More...

#include <text.h>

Public Attributes

const std::size_t size
 Message size without the delimiter.
const char * data
 Pointer to the raw data.
_StringTrait text
 The message as text.

Detailed Description

template<typename _IO_, typename _StringTrait, char _Sep = '\0'>
struct qb::protocol::text::basic_text< _IO_, _StringTrait, _Sep >::message

Structure representing a text message.

This structure contains information about a complete text message, including its size, raw data, and the text formatted according to the specified _StringTrait.