跳至内容 跳至搜索
方法
N
S
U

类公共方法

new(raw_client)

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

实例公共方法

subscribe(*channel)

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

unsubscribe(*channel)

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