class Cable::DevBackend

Defined in:

backend/dev/backend.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Cable::BackendCore

close_publish_connection close_publish_connection, close_subscribe_connection close_subscribe_connection, open_subscribe_connection(channel) open_subscribe_connection, ping_redis_publish ping_redis_publish, ping_redis_subscribe ping_redis_subscribe, publish_connection publish_connection, publish_message(stream_identifier : String, message : String) publish_message, subscribe(stream_identifier : String) subscribe, subscribe_connection subscribe_connection, unsubscribe(stream_identifier : String) unsubscribe

Class Method Detail

def self.published_messages #

Store the published stream_identifier and message


[View source]
def self.reset #

[View source]
def self.subscriptions #

Store the stream_identifier on #subscribe


[View source]

Instance Method Detail

def close_publish_connection #

[View source]
def close_subscribe_connection #

[View source]
def open_subscribe_connection(channel) #
Description copied from class Cable::BackendCore

internal pub/sub


[View source]
def ping_redis_publish #

[View source]
def ping_redis_subscribe #

[View source]
def publish_connection #

[View source]
def publish_message(stream_identifier : String, message : String) #
Description copied from class Cable::BackendCore

external pub/sub


[View source]
def subscribe(stream_identifier : String) #
Description copied from class Cable::BackendCore

channel management


[View source]
def subscribe_connection #
Description copied from class Cable::BackendCore

connection management


[View source]
def unsubscribe(stream_identifier : String) #

[View source]