diff --git a/chat_messages.hpp b/chat_messages.hpp index 8664356..08c9cfa 100644 --- a/chat_messages.hpp +++ b/chat_messages.hpp @@ -35,6 +35,9 @@ namespace chat size_t length() const { return sizeof(char) + _content.size() + sizeof(char); } + + message get_header() const + { return _header; } }; inline std::ostream& operator<<(std::ostream& os, const chat_message& msg)