class

Amber::WebSockets::Adapters::RedisAdapter

Inherits Reference < Object

Allows websocket connections through redis pub/sub.

Constructors

new

Establish subscribe and publish connections to Redis

Source

Class methods

instance
Source

Instance methods

on_message(topic_path, listener)

Add a redis subscriber with topic topic_path

Source
publish(topic_path, client_socket, message)

Publish the message to the redis publisher with topic topic_path

Source