Interface CrtHttpClientConfig.HttpClientProxyConfiguration

Enclosing interface:
CrtHttpClientConfig

public static interface CrtHttpClientConfig.HttpClientProxyConfiguration
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Enable HTTP proxy
    The endpoint of the proxy server that the SDK should connect through.
    The password to use when connecting through a proxy.
    The username to use when connecting through a proxy.
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      Enable HTTP proxy
    • endpoint

      Optional<URI> endpoint()
      The endpoint of the proxy server that the SDK should connect through.

      Currently, the endpoint is limited to a host and port. Any other URI components will result in an exception being raised.

    • username

      Optional<String> username()
      The username to use when connecting through a proxy.
    • password

      Optional<String> password()
      The password to use when connecting through a proxy.