class

Amber::WebSockets::Adapters::MemoryAdapter

Inherits Reference < Object

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

Class methods

instance
Source

Instance methods

on_message(topic_path, listener)

Add a channel listener as a proc

Source
publish(topic_path, client_socket, message)

On message publish, just call all listeners procs

Source