class Ethon::Multi

def initialize(options = {})

Returns:
  • (Multi) - The new multi.

Options Hash: (**options)
  • :execution_mode (Boolean) --
  • :max_total_connections (Integer) --
  • :maxconnects (Integer) --
  • :timerdata (String) --
  • :timerfunction (Proc) --
  • :pipelining (Boolean) --
  • :socketdata (String) --

Parameters:
  • options (Hash) -- The options.

Other tags:
    Example: Create a new Multi. -
def initialize(options = {})
  Curl.init
  @execution_mode = options.delete(:execution_mode) || :perform
  set_attributes(options)
  init_vars
end