class Cable::Server

Defined in:

cable/server.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add_connection(connection) #

[View source]
def connections : Hash(String, Cable::Connection) #

[View source]
def debug #

[View source]
def fiber_channel : Channel({String, String}) #

[View source]
def publish(channel, message) #

[View source]
def redis_publish : Redis #

[View source]
def redis_subscribe : Redis #

[View source]
def remove_connection(connection_id) #

[View source]
def send_to_channels(identifier, message) #

[View source]
def shutdown #

[View source]
def subscribe_channel(channel : Channel, identifier : String) #

[View source]
def unsubscribe_channel(channel : Channel, identifier : String) #

[View source]