Module: FiberAudit::Runtime::Probes::HTTP::URIHook

Defined in:
lib/fiber_audit/runtime/probes/http.rb

Instance Method Summary collapse

Instance Method Details

#open(*arguments) ⇒ Object



40
41
42
43
44
# File 'lib/fiber_audit/runtime/probes/http.rb', line 40

def open(*arguments, **, &)
  return super unless HTTP.http_target?(arguments.first)

  Registry.observe(operation: 'URI.open') { super }
end