Skip to main content
Feedback

Configuring a network proxy for Local Edition SDK

If your internet access is governed by a network proxy, complete the following steps to configure the SDK to use the proxy.

Procedure

  1. Edit the Gradle settings file at <extract-location>/MasheryLocalSDK/gradle.properties.

  2. Add the following properties to configure the proxy for HTTPS connections.

    systemProp.https.proxyHost=www.somehost.org
    systemProp.https.proxyPort=proxy_port
  3. Add the following properties to configure the proxy for HTTP connections.

    systemProp.http.proxyHost=www.somehost.org
    systemProp.http.proxyPort=proxy_port

    For information about advanced configuration, such as credentials and no-proxy settings, refer to Accessing the Web Through a Proxy.

On this Page