class Launch::WebSockets::Adapters::MemoryAdapter

Overview

The MemoryAdapter is intended for development use only and shouldn't be used in production.

Defined in:

launch/websockets/adapters/memory.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, present? present?

Class Method Detail

def self.instance #

[View source]

Instance Method Detail

def on_message(topic_path, listener) #

Add a channel listener as a proc


[View source]
def publish(topic_path, client_socket, message) #

On message publish, just call all listeners procs


[View source]