Module: Firehose
- Defined in:
- lib/firehose/client/consumer.rb,
lib/firehose.rb,
lib/firehose/cli.rb,
lib/firehose/rack.rb,
lib/firehose/rails.rb,
lib/firehose/assets.rb,
lib/firehose/client.rb,
lib/firehose/server.rb,
lib/firehose/logging.rb,
lib/firehose/version.rb,
lib/firehose/rack/app.rb,
lib/firehose/rack/ping.rb,
lib/firehose/server/app.rb,
lib/firehose/server/redis.rb,
lib/firehose/rack/consumer.rb,
lib/firehose/rack/publisher.rb,
lib/firehose/server/channel.rb,
lib/firehose/client/producer.rb,
lib/firehose/server/publisher.rb,
lib/firehose/server/subscriber.rb,
lib/firehose/server/message_buffer.rb,
lib/firehose/rack/consumer/web_socket.rb,
lib/firehose/rack/consumer/http_long_poll.rb
Overview
TODO - Spec this thing out. Unfortunately its not tested at all, mostly because the JSON client is more important (and tested). Still, this should be tested, at least used by the specs to test HTTP functionality of the server.
Defined Under Namespace
Modules: Assets, Client, Rack, Rails, Server Classes: CLI
Constant Summary collapse
- URI =
Default URI for the Firehose server. Consider the port “well-known” and bindable from other apps.
URI.parse("//0.0.0.0:7474").freeze
- VERSION =
"1.3.6"
- CODENAME =
"Oops I did it again"
Class Method Summary collapse
-
.logger ⇒ Object
Sets up logging.
- .logger=(logger) ⇒ Object
Class Method Details
.logger ⇒ Object
Sets up logging
5 6 7 |
# File 'lib/firehose/logging.rb', line 5 def self.logger @logger ||= Logger.new($stdout) end |
.logger=(logger) ⇒ Object
9 10 11 |
# File 'lib/firehose/logging.rb', line 9 def self.logger=(logger) @logger = logger end |