| Method and Description |
|---|
| okhttp3.CertificatePinner.check(String, Certificate...)
replaced with
CertificatePinner.check(String, List). |
okhttp3.OkHttpClient.Builder.sslSocketFactory(SSLSocketFactory)
SSLSocketFactory does not expose its X509TrustManager, which is
a field that OkHttp needs to build a clean certificate chain. This method instead must
use reflection to extract the trust manager. Applications should prefer to call OkHttpClient.Builder.sslSocketFactory(SSLSocketFactory, X509TrustManager), which avoids such reflection. |
| okhttp3.ConnectionSpec.Builder.supportsTlsExtensions(boolean)
since OkHttp 3.13 all TLS-connections are expected to support TLS extensions.
In a future release setting this to true will be unnecessary and setting it to false will
have no effect.
|
| Enum Constant and Description |
|---|
| okhttp3.Protocol.SPDY_3
OkHttp has dropped support for SPDY. Prefer
Protocol.HTTP_2. |
Copyright © 2019. All rights reserved.