lib/powertrack/streaming/stream.rb
# Opens a new connection to GNIP PowerTrack.
Opens a new connection to GNIP PowerTrack.
Opens a new connection to GNIP PowerTrack .
def connect(hostname, feature=nil, sub_feature=nil)
      url = feature_url(hostname, feature, sub_feature)
      logger.debug("Connecting to '#{url}' with headers #{connection_headers}...")
      EventMachine::HttpRequest.new(url, connection_headers)
    end
def connect ( hostname , feature = nil , sub_feature = nil ) url = feature_url ( hostname , feature , sub_feature ) logger . debug ( "Connecting to '#{url}' with headers #{connection_headers}..." ) EventMachine :: HttpRequest . new ( url , connection_headers ) end
Opens a new connection to GNIP PowerTrack.
Opens a new connection to GNIP PowerTrack .
hostname
feature
sub_feature