class NewRelic::Agent::HTTPClients::AsyncHTTPResponse

Public Instance Methods

[](key) click to toggle source
# File lib/new_relic/agent/http_clients/async_http_wrappers.rb, line 16
def [](key)
  to_hash[key.downcase]&.first
end
get_status_code() click to toggle source
# File lib/new_relic/agent/http_clients/async_http_wrappers.rb, line 12
def get_status_code
  get_status_code_using(:status)
end
to_hash() click to toggle source
# File lib/new_relic/agent/http_clients/async_http_wrappers.rb, line 20
def to_hash
  @wrapped_response.headers.to_h
end