module ActionCable::SubscriptionAdapter::ChannelPrefix
def broadcast(channel, payload)
def broadcast(channel, payload) channel = channel_with_prefix(channel) super end
def channel_with_prefix(channel)
def channel_with_prefix(channel) [@server.config.cable[:channel_prefix], channel].compact.join(":") end
def subscribe(channel, callback, success_callback = nil)
def subscribe(channel, callback, success_callback = nil) channel = channel_with_prefix(channel) super end
def unsubscribe(channel, callback)
def unsubscribe(channel, callback) channel = channel_with_prefix(channel) super end