Module: AsyncHttp::Prepend

Includes:
NewRelic::Agent::Instrumentation::AsyncHttp
Defined in:
lib/new_relic/agent/instrumentation/async_http/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Agent::Instrumentation::AsyncHttp

#call_with_new_relic

Instance Method Details

#call(method, url, headers = nil, body = nil) ⇒ Object



11
12
13
# File 'lib/new_relic/agent/instrumentation/async_http/prepend.rb', line 11

def call(method, url, headers = nil, body = nil)
  call_with_new_relic(method, url, headers, body) { |hdr| super(method, url, hdr, body) }
end