已过时的 API
目录
-
已过时的 方法方法说明replaced with
CertificatePinner.check(String, List).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.SSLSocketFactorydoes not expose itsX509TrustManager, 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 callOkHttpClient.Builder.sslSocketFactory(SSLSocketFactory, X509TrustManager), which avoids such reflection.use getBuffer() instead.
-
已过时的 枚举常量