struct Launch::WebSockets::SubscriptionManager
Overview
SubscriptionManager
manages the list of channel subscriptions for the socket connection.
Also handles dispatching actions (messages) to the appropriate channel.
Defined in:
launch/websockets/subscription_manager.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #dispatch(client_socket, message)
- #initialize
- #subscriptions : Hash(String, Launch::WebSockets::Channel)
- #subscriptions=(subscriptions : Hash(String, Launch::WebSockets::Channel))