Public Class methods
included(klass)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 63 def self.included(klass) 64 klass.prepend TrackTimeMethods 65 super 66 end
new(*)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 68 def initialize(*) 69 meter_elapsed_time("Session: initializing...") 70 super 71 meter_elapsed_time("Session: initialized!!!") 72 resolver_type = @options.resolver_class 73 resolver_type = Resolver.resolver_for(resolver_type) 74 return unless resolver_type <= Resolver::Native 75 76 resolver_type.prepend TrackTimeMethods 77 resolver_type.prepend NativeResolverMethods 78 @options = @options.merge(resolver_class: resolver_type) 79 end
Public Instance methods
close(*)
[show source]
# File lib/httpx/plugins/internal_telemetry.rb 81 def close(*) 82 super 83 meter_elapsed_time("Session -> close") 84 end