ProxySettings class
An object used to set and retrieve the details of the proxy server used to interact with the Eyes server.
To set a proxy server, create an object of this type and pass it to the setProxy method.
Import statement
import com.applitools.eyes.android.espresso.ProxySettings;
ProxySettings method
Syntax
ProxySettings proxySettings = new ProxySettings(uri, port, username, password);
ProxySettings proxySettings = new ProxySettings(uri, port);
ProxySettings proxySettings = new ProxySettings(uri, username, password);
ProxySettings proxySettings = new ProxySettings(uri);
Parameters
uri
Type: String
The proxy's server URI.
port
Type: int
The proxy's port (default 80).
username
Type: String
The username to be sent to the proxy (default null).
password
Type: String
The password to be sent to the proxy (default null).
Return value
Type: ProxySettings