class NewRelic::Agent::HTTPClients::HTTPResponse

Public Instance Methods

[](key) click to toggle source
# File lib/new_relic/agent/http_clients/http_rb_wrappers.rb, line 11
def [](key)
  _, value = @wrapped_response.headers.find { |k, _| key.casecmp(k) == 0 }
  value unless value.nil?
end
to_hash() click to toggle source
# File lib/new_relic/agent/http_clients/http_rb_wrappers.rb, line 16
def to_hash
  @wrapped_response.headers
end