一、使用篇
- 介绍及基本使用
https://juejin.im/post/5dd5077ef265da47b60c0248https://daemonyang.blogspot.com/2019/11/okhttp-01.html
- callTimeout & connectTimeout & readTimeout & writeTimeout
- pingInterval
- dns
- proxy & proxySelector
- SocketFactory
- retryOnConnectionFailure
- followRedirects
- followSslRedirects
- SSLSocketFactory & X509TrustManager
- HostnameVerifier
- CertificatePinner
- authenticator & proxyAuthenticator
- cookie
- cache
- connectionPool
- dispatcher
- protocols
- connectionSpecs
- addInterceptor
- addNetworkInterceptor
- eventListener & eventListenerFactory
https://juejin.im/post/5dd5077ef265da47b60c0248https://daemonyang.blogspot.com/2019/11/okhttp-01.html
没有评论:
发表评论