class

ActionCable::SubscriptionAdapter::Base

Inherits ActionCable::SubscriptionAdapter::PubsubAdapter < Reference < Object

Instance methods

broadcast(channel : String, payload : String) : Nil
Source
fast_broadcasts?

Fast-path support (P1.5): adapters that can fan out prebuilt envelopes (see Async) override this and the *_fast pair below.

Source
shutdown
Source
subscribe(channel : String, callback : Proc(String, Nil)) : Nil
Source
subscribe_fast(channel : String, connection : Connection, identifier : String) : Nil
Source
unsubscribe(channel : String, callback : Proc(String, Nil)) : Nil
Source
unsubscribe_fast(channel : String, connection : Connection) : Nil
Source