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_publish_connection ping_publish_connection, ping_subscribe_connection ping_subscribe_connection, 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 methods inherited from class Cable::BackendCore

register(uri_scheme : String, backend : BackendCore.class = self) register

Class Method Detail

def self.published_messages #

Store the published stream_identifier and message


def self.reset #

def self.subscriptions #

Store the stream_identifier on #subscribe


Instance Method Detail

def close_publish_connection #

def close_subscribe_connection #

def open_subscribe_connection(channel) #
Description copied from class Cable::BackendCore

internal pub/sub


def ping_publish_connection #

def ping_subscribe_connection #
Description copied from class Cable::BackendCore

ping/pong


def publish_connection #

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

external pub/sub


def subscribe(stream_identifier : String) #
Description copied from class Cable::BackendCore

channel management


def subscribe_connection #
Description copied from class Cable::BackendCore

connection management


def unsubscribe(stream_identifier : String) #