Module: NewRelic::Security::Instrumentation::NetHTTP::Prepend
- Defined in:
- lib/newrelic_security/instrumentation-security/net_http/prepend.rb
Constant Summary
Constants included from NewRelic::Security::Instrumentation::NetHTTP
HTTP, HTTPS_COLON_SLASH_SLAH, HTTP_COLON_SLASH_SLAH
Instance Method Summary collapse
Methods included from NewRelic::Security::Instrumentation::NetHTTP
#transport_request_on_enter, #transport_request_on_exit
Instance Method Details
#transport_request(req, &block) ⇒ Object
7 8 9 10 11 |
# File 'lib/newrelic_security/instrumentation-security/net_http/prepend.rb', line 7 def transport_request(req, &block) retval = nil event = transport_request_on_enter(req) { retval = super } transport_request_on_exit(event) { return retval } end |