Class: Proxy

session.Proxy()

Proxy configuration object representation.

Constructor

new Proxy()

Source:

Methods

(static) fromJSON(json)

Parameters:
Name Type Description
json Object.<string, ?>

JSON Object to unmarshal.

Source:
Throws:

When proxy configuration is invalid.

Type
InvalidArgumentError

init() → {boolean}

Sets Firefox proxy settings.

Source:
Returns:

True if proxy settings were updated as a result of calling this function, or false indicating that this function acted as a no-op.

Type
boolean

toJSON() → {Object.<string, (number|string)>}

Source:
Returns:

JSON serialisation of proxy object.

Type
Object.<string, (number|string)>