okhttp源碼解讀--上篇(okhttpclient參數,enqueue/execute調用)

前兩天剛剛把Retrofit的源碼看完,發現對於底層的請求調用還是通過okhttp來進行的. 現在來研究一下okhttp的源碼. 由於okhttp比retrofit細節,結構上要更復雜.預期以3個篇幅來進行講解. 分別是: 上篇:okhttpclient的參數,調用. 中篇:getResponseWithInterceptorChain 下篇:各個Interceptor的作用和自定義Interce
相關文章
相關標籤/搜索