cluster/websocket: Factor out active subscription handling

This commit is contained in:
Arne Welzel 2025-04-23 18:01:57 +02:00
parent c27d74b2f9
commit 47206d6a8a
2 changed files with 25 additions and 16 deletions

View file

@ -228,6 +228,10 @@ private:
void HandleSubscriptions(WebSocketClientEntry& entry, std::string_view buf);
// Raise the websocket_client_added event and send the ack to the client contained in entry.
void HandleSubscriptionsActive(const WebSocketClientEntry& entry);
void HandleEvent(WebSocketClientEntry& entry, std::string_view buf);
// Allow access to Process(WebSocketEvent)