| 方法和说明 |
|---|
| com.lark.oapi.okio.BufferedSource.buffer()
use getBuffer() instead.
|
| com.lark.oapi.okhttp.CertificatePinner.check(String, Certificate...)
replaced with
CertificatePinner.check(String, List). |
com.lark.oapi.okhttp.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. |
| com.lark.oapi.okhttp.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.
|
| 枚举常量和说明 |
|---|
| com.lark.oapi.okhttp.Protocol.SPDY_3
OkHttp has dropped support for SPDY. Prefer
Protocol.HTTP_2. |
Copyright © 2024. All rights reserved.