class NewRelic::Agent::HTTPClients::HTTPClientResponse

Public Instance Methods

[](key) click to toggle source
# File lib/new_relic/agent/http_clients/httpclient_wrappers.rb, line 11
def [](key)
  @wrapped_response.headers.each do |k, v|
    if key.casecmp(k) == 0
      return v
    end
  end
  nil
end
to_hash() click to toggle source
# File lib/new_relic/agent/http_clients/httpclient_wrappers.rb, line 20
def to_hash
  @wrapped_response.headers
end