class Amber::WebSockets::Adapters::MemoryAdapter

Overview

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

Defined in:

amber/websockets/adapters/memory.cr

Class Method Summary

Instance Method Summary

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]