struct Alfodr::WebSockets::SubscriptionManager
- Alfodr::WebSockets::SubscriptionManager
- Struct
- Value
- Object
Overview
SubscriptionManager
manages the list of channel subscriptions for the socket connection.
Also handles dispatching actions (messages) to the appropriate channel.
Defined in:
alfodr/websockets/subscription_manager.crConstructors
Instance Method Summary
- #dispatch(client_socket, message)
- #initialize
- #subscriptions : Hash(String, Alfodr::WebSockets::Channel)
- #subscriptions=(subscriptions : Hash(String, Alfodr::WebSockets::Channel))