Class: NewRelic::Agent::HTTPClients::AsyncHTTPResponse
Instance Method Summary
collapse
#has_status_code?, #initialize, #status_code
Instance Method Details
[View source]
16
17
18
|
# File 'lib/new_relic/agent/http_clients/async_http_wrappers.rb', line 16
def [](key)
to_hash[key.downcase]&.first
end
|
permalink
#get_status_code ⇒ Object
[View source]
12
13
14
|
# File 'lib/new_relic/agent/http_clients/async_http_wrappers.rb', line 12
def get_status_code
get_status_code_using(:status)
end
|
[View source]
20
21
22
|
# File 'lib/new_relic/agent/http_clients/async_http_wrappers.rb', line 20
def to_hash
@wrapped_response..to_h
end
|