Module: Firehose::Server
- Defined in:
- lib/firehose/server.rb,
lib/firehose/server/app.rb,
lib/firehose/server/channel.rb,
lib/firehose/server/publisher.rb,
lib/firehose/server/subscriber.rb
Overview
Firehose components that sit between the Rack HTTP software and the Redis server. This mostly handles message sequencing and different HTTP channel names.
Defined Under Namespace
Classes: App, Channel, Publisher, Subscriber
Class Method Summary collapse
-
.key(*segments) ⇒ Object
Generates keys for all firehose interactions with Redis.
Class Method Details
.key(*segments) ⇒ Object
Generates keys for all firehose interactions with Redis. Ensures a root key of ‘firehose`
18 19 20 |
# File 'lib/firehose/server.rb', line 18 def self.key(*segments) segments.unshift(:firehose).join(':') end |