ws1-network/com.airwatch.gateway.clients/AWOkHttpClient
AWOkHttpClient¶
open class AWOkHttpClient
This class is a utility class that provides methods to create and configure an OkHttpClient instance with NTLM authentication and SSL client certificate authentication.
Functions¶
| Name | Summary |
|---|---|
| copyWithDefaults | Deprecated. Uses the Android default TrustStore and cannot customize trust management. Use copyWithDefaults and pass a custom X509TrustManager instead. Deprecated since 19.4. |
| getProxy | open fun getProxy(proxy: Proxy): Proxy Returns the proxy to use for OkHttp requests. |
| newCall | open fun newCall(client: OkHttpClient, request: Request): Call Creates a new Call for the given request. |