lib/powertrack/streaming/stream.rb
def connection_headers
      { connect_timeout: @options[:connect_timeout],
        ssl: {verify_peer: true},
        inactivity_timeout: @options[:inactivity_timeout] }
    end
# Returns the HTTP headers common to each valid PowerTrack connection.
# Each call returns a new hash which can be safely modified by the caller.
Returns the HTTP headers common to each valid PowerTrack connection.
Each call returns a new hash which can be safely modified by the caller.
Returns the HTTP headers common to each valid PowerTrack connection . Each call returns a new hash which can be safely modified by the caller .
def connection_headers
      { connect_timeout: @options[:connect_timeout],
        ssl: {verify_peer: true},
        inactivity_timeout: @options[:inactivity_timeout] }
    end
def connection_headers { connect_timeout : @options [ :connect_timeout ] , ssl : { verify_peer : true } , inactivity_timeout : @options [ :inactivity_timeout ] } end
Returns the HTTP headers common to each valid PowerTrack connection.
Returns the HTTP headers common to each valid PowerTrack connection .