![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OkHttp
LilllS
这个作者很懒,什么都没留下…
展开
-
OkHttp源码解析(一)
简单使用OkHttpClient client = new OkHttpClient();Request request = new Request.Builder() .url("https://api.github.com/search/repositories") .build();//执行请求的地方.client.newCall(request)...原创 2018-10-24 17:55:34 · 362 阅读 · 0 评论 -
OkHttp源码解析(二)之Interceptor
OkHttp中的InterceptorsgetResponseWithInterceptorChain()继续说getResponseWithInterceptorChain()方法Response getResponseWithInterceptorChain() throws IOException { // Build a full stack of interceptors. ...原创 2018-10-24 22:12:41 · 323 阅读 · 4 评论