litesuits / android-lite-http

LiteHttp is a simple, intelligent and flexible HTTP framework for Android. With LiteHttp you can make HTTP request with only one line of code! It could convert a java model to the parameter and rander the response JSON as a java model intelligently.
http://litesuits.com?form=ghttp
Apache License 2.0
830 stars 347 forks source link

网络请求能换成HttpUrlConnection吗? #20

Closed winter110 closed 8 years ago

winter110 commented 8 years ago

我看了下源码好像网络请求用的HttpClient,实际使用中发现会有比较小的概率下会出现网络无任何返回的情况,不知道是不是因为这个原因,现在android不是已经都废弃httpclient了吗,是不是可以考虑下

litesuits commented 8 years ago

现在是最新的 litehttp 3.0的版本,是HttpUrlconnection实现的。 Apache的Client实现已经剥离出来,如需使用可按需采用。