Module: Airbrake::Rails::HTTPClient

Defined in:
lib/airbrake/rails/http_client.rb

Overview

Allows measuring request timing.

Instance Method Summary collapse

Instance Method Details

#do_get_block(request, proxy, connection, &block) ⇒ Object



7
8
9
10
11
# File 'lib/airbrake/rails/http_client.rb', line 7

def do_get_block(request, proxy, connection, &block)
  Airbrake::Rack.capture_timing(:http) do
    super(request, proxy, connection, &block)
  end
end