Method: Appium::Core::Driver#get_http_client

Defined in:
lib/appium_lib_core/driver.rb

#get_http_client(http_client: nil, open_timeout: nil, read_timeout: nil) ⇒ Object


477
478
479
# File 'lib/appium_lib_core/driver.rb', line 477

def get_http_client(http_client: nil, open_timeout: nil, read_timeout: nil)
  http_client || Appium::Core::Base::Http::Default.new(open_timeout: open_timeout, read_timeout: read_timeout)
end