Public Class methods
included(klass)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 103 def self.included(klass) 104 klass.prepend TrackTimeMethods 105 super 106 end
Public Instance methods
handle_transition(nextstate)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 108 def handle_transition(nextstate) 109 state = @state 110 super 111 meter_elapsed_time("Connection##{object_id}[#{@origin}]: #{state} -> #{nextstate}") if nextstate == @state 112 end