class HTTPClient
Public Instance Methods
do_get_block(req, proxy, conn, &block)
Also aliased as: do_get_block_without_newrelic
Alias for: do_get_block_with_newrelic
do_get_block_with_newrelic(req, proxy, conn, &block)
click to toggle source
# File lib/new_relic/agent/instrumentation/httpclient.rb, line 28 def do_get_block_with_newrelic(req, proxy, conn, &block) wrapped_request = NewRelic::Agent::HTTPClients::HTTPClientRequest.new(req) response = nil ::NewRelic::Agent::CrossAppTracing.tl_trace_http_request(wrapped_request) do do_get_block_without_newrelic(req, proxy, conn, &block) response = conn.pop conn.push response ::NewRelic::Agent::HTTPClients::HTTPClientResponse.new(response) end response end
Also aliased as: do_get_block