struct

Amber::WebSockets::SubscriptionManager

Inherits Struct < Value < Object

SubscriptionManager manages the list of channel subscriptions for the socket connection. Also handles dispatching actions (messages) to the appropriate channel.

Constants

Log = ::Log.for(self)

Constructors

Instance methods

dispatch(client_socket, message)
Source
initialize
Source
subscriptions
Source
subscriptions=(subscriptions : Hash(String, Amber::WebSockets::Channel))
Source