| 程序包 | 说明 |
|---|---|
| com.lark.oapi.okhttp |
An HTTP+HTTP/2 client for Android and Java applications.
|
| com.lark.oapi.okhttp.internal |
| 限定符和类型 | 字段和说明 |
|---|---|
static ConnectionSpec |
ConnectionSpec.CLEARTEXT
Unencrypted, unauthenticated connections for
http: URLs. |
static ConnectionSpec |
ConnectionSpec.COMPATIBLE_TLS
A backwards-compatible fallback configuration that works on obsolete client platforms and can
connect to obsolete servers.
|
static ConnectionSpec |
ConnectionSpec.MODERN_TLS
A modern TLS configuration that works on most client platforms and can connect to most servers.
|
static ConnectionSpec |
ConnectionSpec.RESTRICTED_TLS
A secure TLS connection that requires a recent client platform and a recent server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConnectionSpec |
ConnectionSpec.Builder.build() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<ConnectionSpec> |
OkHttpClient.connectionSpecs() |
List<ConnectionSpec> |
Address.connectionSpecs() |
| 限定符和类型 | 方法和说明 |
|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.connectionSpecs(List<ConnectionSpec> connectionSpecs) |
| 构造器和说明 |
|---|
Builder(ConnectionSpec connectionSpec) |
| 构造器和说明 |
|---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Internal.apply(ConnectionSpec tlsConfiguration,
SSLSocket sslSocket,
boolean isFallback) |
Copyright © 2024. All rights reserved.