setProxy method
Use this method to configure Eyes so that it will interact with the Eyes server via a proxy.
By default, the SDK interacts directly with the Eyes server. If necessary, you can define a proxy server so that the SDK will interact with the proxy server, and the proxy server will relay the interaction to the Eyes server.
Syntax
Configuration value = eyes.setProxy(abstractProxySettings);
Parameters
- abstractProxySettings
- Type:AbstractProxySettings
- An object that defines how to connect to the proxy server by providing the user name, password, URI and port. This is an instance of the ProxySettings class.
Return value
- Type: Configuration