class Amber::WebSockets::Adapters::RedisAdapter
- Amber::WebSockets::Adapters::RedisAdapter
 - Reference
 - Object
 
Overview
Allows websocket connections through redis pub/sub.
Defined in:
amber/websockets/adapters/redis.crConstructors
- 
        .new
        
          
Establish subscribe and publish connections to Redis
 
Class Method Summary
Instance Method Summary
- 
        #on_message(topic_path, listener)
        
          
Add a redis subscriber with topic topic_path
 - 
        #publish(topic_path, client_socket, message)
        
          
Publish the message to the redis publisher with topic topic_path
 
Constructor Detail
Class Method Detail
Instance Method Detail
        
        def publish(topic_path, client_socket, message)
        #
      
      
        Publish the message to the redis publisher with topic topic_path