Proxy configuration
Last updated
Last updated
2023 © Caf. - All rights reserved
To have the SDK use your proxy to make requests, you must enter the settings to be used through an instance of the CafProxySettings
class sent as a parameter to the .setProxySettings
method in the builder of any of our SDKs:
setAuthentication(String user, String password)
Tells you the authentication parameters of your proxy, if any.
Parameter
Type
Description
hostname
String
Sets the domain or IP address of the proxy service
port
int
Sets the port to be used
Parameter
Description
user
Username to be used for authentication
password
Password to be used for authentication