2017年6月8日 星期四

OKHTTP 重要教學

1.同步與非同步傳輸模式
https://github.com/square/okhttp/wiki/Recipes

非同步(asy) 可以捕捉request失敗的狀況,再重傳.


2,Application與Network 的Response監聽方式
https://github.com/square/okhttp/wiki/Interceptors

Application較為正常

沒有留言:

張貼留言