Class: Push::Transport::Controller::HttpLongPoll

Inherits:
Sinatra::Base
  • Object
show all
Includes:
Logging
Defined in:
lib/push/transport/controller/http_long_poll.rb

Constant Summary collapse

SidHttpKey =
'HTTP_X_SID'.freeze
SidParamKey =
'sid'.freeze
JsonpCallbackParamKey =
'callback'.freeze
Connection =
::AMQP.connect(Push.config.amqp.to_hash)