Move TopicTreeMessage and TopicTreeBigMessage to TopicTree.h (#1510)
* Move TopicTreeMessage and TopicTreeBigMessage to TopicTree.h * Move TopicTreeMessage and TopicTreeBigMessage to WebSocketContextData per comment Co-authored-by: Jun Woo Shin <jwoos@meta.com>
This commit is contained in:
@@ -31,9 +31,19 @@
|
||||
|
||||
namespace uWS {
|
||||
|
||||
/* Type queued up when publishing */
|
||||
struct TopicTreeMessage {
|
||||
std::string message;
|
||||
/*OpCode*/ int opCode;
|
||||
bool compress;
|
||||
};
|
||||
struct TopicTreeBigMessage {
|
||||
std::string_view message;
|
||||
/*OpCode*/ int opCode;
|
||||
bool compress;
|
||||
};
|
||||
|
||||
template <bool, bool, typename> struct WebSocket;
|
||||
struct TopicTreeMessage;
|
||||
struct TopicTreeBigMessage;
|
||||
|
||||
/* todo: this looks identical to WebSocketBehavior, why not just std::move that entire thing in? */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user