Class: Selenium::WebDriver::Remote::Http::Default Private

Inherits:
Common
  • Object
show all
Defined in:
sig/gems/selenium/remote/http/default.rbs

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Direct Known Subclasses

Appium::Core::Base::Http::Default

Constant Summary collapse

MAX_RETRIES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Returns:

  • (Integer)

Constants inherited from Common

Common::CONTENT_TYPE, Common::DEFAULT_HEADERS, Common::MAX_REDIRECTS

Instance Attribute Summary collapse

Attributes inherited from Common

#server_url

Instance Method Summary collapse

Methods inherited from Common

#call, #create_response, extra_headers, extra_headers=, #quit_errors, #server_url, user_agent, user_agent=

Constructor Details

#initializeDefault

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Default.

Parameters:

  • open_timeout: (Object, nil)
  • read_timeout: (Object, nil)


21
# File 'sig/gems/selenium/remote/http/default.rbs', line 21

def initialize: (?open_timeout: untyped?, ?read_timeout: untyped?) -> void

Instance Attribute Details

#open_timeoutObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


17
18
19
# File 'sig/gems/selenium/remote/http/default.rbs', line 17

def open_timeout
  @open_timeout
end

#proxy=(value) ⇒ Object (writeonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • value (Object)


15
16
17
# File 'sig/gems/selenium/remote/http/default.rbs', line 15

def proxy=(value)
  @proxy = value
end

#read_timeoutObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


19
20
21
# File 'sig/gems/selenium/remote/http/default.rbs', line 19

def read_timeout
  @read_timeout
end

Instance Method Details

#closeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


23
# File 'sig/gems/selenium/remote/http/default.rbs', line 23

def close: () -> untyped

#httpObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


27
# File 'sig/gems/selenium/remote/http/default.rbs', line 27

def http: () -> untyped

#new_http_clientObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


39
# File 'sig/gems/selenium/remote/http/default.rbs', line 39

def new_http_client: () -> untyped

#new_request_forObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • verb (Object)
  • url (Object)
  • headers (Object)
  • payload (Object)

Returns:

  • (Object)


35
# File 'sig/gems/selenium/remote/http/default.rbs', line 35

def new_request_for: (untyped verb, untyped url, untyped headers, untyped payload) -> untyped

#proxyObject (writeonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


41
# File 'sig/gems/selenium/remote/http/default.rbs', line 41

def proxy: () -> untyped

#requestObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • verb (Object)
  • url (Object)
  • headers (Object)
  • payload (Object)
  • redirects (::Integer)

Returns:

  • (Object)


33
# File 'sig/gems/selenium/remote/http/default.rbs', line 33

def request: (untyped verb, untyped url, untyped headers, untyped payload, ?::Integer redirects) -> untyped

#response_forObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • request (Object)

Returns:

  • (Object)


37
# File 'sig/gems/selenium/remote/http/default.rbs', line 37

def response_for: (untyped request) -> untyped

#startObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • http (Object)

Returns:

  • (Object)


29
# File 'sig/gems/selenium/remote/http/default.rbs', line 29

def start: (untyped http) -> untyped

#use_proxy?Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Object)


43
# File 'sig/gems/selenium/remote/http/default.rbs', line 43

def use_proxy?: () -> untyped