Sha256: 48aadab39a6f0b7a8c1a8b24b5efef720933cfbe04aa0142e418a277708ce62b
Contents?: true
Size: 749 Bytes
Versions: 15
Compression:
Stored size: 749 Bytes
Contents
require 'faye/websocket' require 'em-hiredis' # Set the EM::Hiredis logger to be the same as the Firehose logger. EM::Hiredis.logger = Firehose.logger module Firehose # Firehose components that sit between the Rack HTTP software and the Redis server. # This mostly handles message sequencing and different HTTP channel names. module Server autoload :Subscriber, 'firehose/server/subscriber' autoload :Publisher, 'firehose/server/publisher' autoload :Channel, 'firehose/server/channel' autoload :App, 'firehose/server/app' # Generates keys for all firehose interactions with Redis. Ensures a root # key of `firehose` def self.key(*segments) segments.unshift(:firehose).join(':') end end end
Version data entries
15 entries across 15 versions & 1 rubygems