| 程序包 | 说明 |
|---|---|
| com.lark.oapi.okhttp |
An HTTP+HTTP/2 client for Android and Java applications.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static Authenticator |
Authenticator.NONE
An authenticator that knows no credentials and makes no attempt to authenticate.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Authenticator |
OkHttpClient.authenticator() |
Authenticator |
OkHttpClient.proxyAuthenticator() |
Authenticator |
Address.proxyAuthenticator()
Returns the client's proxy authenticator.
|
| 限定符和类型 | 方法和说明 |
|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.authenticator(Authenticator authenticator)
Sets the authenticator used to respond to challenges from origin servers.
|
OkHttpClient.Builder |
OkHttpClient.Builder.proxyAuthenticator(Authenticator proxyAuthenticator)
Sets the authenticator used to respond to challenges from proxy servers.
|
| 构造器和说明 |
|---|
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) |
Copyright © 2024. All rights reserved.