Module: FiberAudit::Runtime::Probes::HTTP::NetHTTPClassHook

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

Instance Method Summary collapse

Instance Method Details

#getObject



10
11
12
# File 'lib/fiber_audit/runtime/probes/http.rb', line 10

def get(...)
  Registry.observe(operation: 'Net::HTTP.get') { super }
end

#get_responseObject



14
15
16
# File 'lib/fiber_audit/runtime/probes/http.rb', line 14

def get_response(...)
  Registry.observe(operation: 'Net::HTTP.get_response') { super }
end

#startObject



18
19
20
# File 'lib/fiber_audit/runtime/probes/http.rb', line 18

def start(...)
  Registry.observe(operation: 'Net::HTTP.start') { super }
end