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

Version Path
firehose-1.2.20 lib/firehose/server.rb
firehose-1.2.13 lib/firehose/server.rb
firehose-1.2.12 lib/firehose/server.rb
firehose-1.2.11 lib/firehose/server.rb
firehose-1.2.10 lib/firehose/server.rb
firehose-1.2.9 lib/firehose/server.rb
firehose-1.2.8 lib/firehose/server.rb
firehose-1.2.7 lib/firehose/server.rb
firehose-1.2.6 lib/firehose/server.rb
firehose-1.2.5 lib/firehose/server.rb
firehose-1.2.4 lib/firehose/server.rb
firehose-1.2.3 lib/firehose/server.rb
firehose-1.2.2 lib/firehose/server.rb
firehose-1.2.1 lib/firehose/server.rb
firehose-1.2.0 lib/firehose/server.rb