有那些常用的网络请求框架?

315 阅读1分钟

常用的网络请求框架有哪些?

常见有 1.Okhttp,2.Retrofit, 3.NoHttp,4.Volley; 5.HttpURLConnection(省电省流量) 6.HttpClient (6.0后已删除) 7.AsyncHttpclient

请求过程中有: 请求头: Map<String,String> mHeaders,

请求参数 Map<String,String> mBodyParams,

URL编码: URLEncoder.encode()

1).NetworkExecutor 网络请求线程

2).HttpStack Http 执行器

3).ResponseDelivery Response 分发