Module: HTTPX::Plugins::InternalTelemetry::NativeResolverMethods

Defined in:
lib/httpx/plugins/internal_telemetry.rb

Instance Method Summary collapse

Instance Method Details

#transition(nextstate) ⇒ Object



36
37
38
39
40
41
# File 'lib/httpx/plugins/internal_telemetry.rb', line 36

def transition(nextstate)
  state = @state
  val = super
  meter_elapsed_time("Resolver::Native: #{state} -> #{nextstate}")
  val
end