JakeWharton在GooglePlus上说OkHttp可以和Volley结合使用
https://plus.google.com/+JakeWharton/posts/eJJxhkTQ4yU
和我遇到一样的问题
http://stackoverflow.com/questions/27960801/should-i-use-okhttp-with-volley-library
之前一直在使用asynchttpclient,现在想换成Volley,问题是,Volley已经可以较好的完成网络请求的封装了,为什么要结合使用OKhttp呢?好处在哪里?
困惑的是下面这行代码
Volley.newRequestQueue(context, new OkHttpStack());
https://plus.google.com/+JakeWharton/posts/eJJxhkTQ4yU
和我遇到一样的问题
http://stackoverflow.com/questions/27960801/should-i-use-okhttp-with-volley-library
之前一直在使用asynchttpclient,现在想换成Volley,问题是,Volley已经可以较好的完成网络请求的封装了,为什么要结合使用OKhttp呢?好处在哪里?
困惑的是下面这行代码
Volley.newRequestQueue(context, new OkHttpStack());