Skip to Content Skip to Search

class ActionCable::SubscriptionAdapter::Redis::Listener::SubscribedClient

Public class methods

Source code GitHub
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 216
def initialize(raw_client)
  @raw_client = raw_client
end

Public instance methods

Source code GitHub
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 220
def subscribe(*channel)
  send_command("subscribe", *channel)
end
Source code GitHub
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 224
def unsubscribe(*channel)
  send_command("unsubscribe", *channel)
end

Definition files