module Excon

def new(url, params = {})

Returns:
  • (Connection) - A new Excon::Connection instance

Parameters:
  • params (Hash) -- One or more option params to set on the Connection instance
  • url (String) -- The destination URL

Other tags:
    See: Connection#initialize -
def new(url, params = {})
  Excon::Connection.new(url, params)
end