module HTTPX::Plugins::Hedging::InstanceMethods

  1. lib/httpx/plugins/hedging.rb

Methods

Public Instance

  1. select_connection

Public Instance methods

select_connection(connection, selector)
[show source]
   # File lib/httpx/plugins/hedging.rb
36 def select_connection(connection, selector)
37   connection.try_yield_hedge_connection do |hedge_conn|
38     super.tap do
39       select_connection(hedge_conn, selector) if hedge_conn
40     end
41   end
42 end