| Method | 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. |
| Enum Constant | Description |
|---|---|
| okhttp3.Protocol.SPDY_3 |
OkHttp has dropped support for SPDY. Prefer
Protocol.HTTP_2. |
Copyright © 2021. All rights reserved.