OkHttp3 icon indicating copy to clipboard operation
OkHttp3 copied to clipboard

基于OkHttp3封装的网络请求库——致力于最简洁、功能最全、可灵活扩展的网络操作API

Results 23 OkHttp3 issues
Sort by recently updated
recently updated
newest added

图片上传可以不压缩吗?默认被压缩了

看说明支持soap请求,好像没看到使用例子,不知道要怎么使用,求教

今天從 GitHub 下載後打開時一切正常 但是 Build 到手機時出現以下錯誤 ![error](https://user-images.githubusercontent.com/24844009/42205510-45c7a314-7ed7-11e8-8fe1-cd3520288671.PNG)

参数URL都正常,一个页面同时多个异步请求,偶尔会出现Response: [length=2; index=4] ` OkHttpUtil.getDefault(mContext).doAsync( HttpInfo.Builder() .setUrl(Global.Domain + url) .setRequestType(RequestType.POST)//设置请求方式 .addParam("NonceStr", param.getNonceStr())//添加接口参数 .addParam("Sign", param.getSign()) .addParam("SignType", param.getSignType()) .addParam("Data", param.getData()) .build(), new Callback() { @Override public void onFailure(HttpInfo info) throws IOException {...

PostParams没有打印出来。小文件几百k可以上传成功。有一个apk30m不行。 网上百度原因。 1.使用代理,在转发过程中代理出现中断; 2. 数据包过大,无法正常发送; 3. USB切换或息屏时导致Socket端口关闭 5M 4.服务端如在几次心跳后没有接到客户端的信息就会对该客户端关闭端口 帮忙看一下。

请问OkHttpUtil.Builder().build(this)与OkHttpUtil.Builder().build()有什么区别么?获取的client是否一样,与Picasso做缓存的时候应该怎么做呢!期待您的回答

01-12 16:37:23.970 6489-7775/line.red.ths.com.cn.redline E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher Process: line.red.ths.com.cn.redline, PID: 6489 java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Out of memory at java.lang.Thread.nativeCreate(Native Method) at java.lang.Thread.start(Thread.java:1076) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:920) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:988) at...

怎样进行soap请求呢?求解

![123](https://user-images.githubusercontent.com/32896251/31709238-010aacc2-b424-11e7-9918-daa45dd78842.png) 错误信息 如图,我第一次进入可以正常显示 ![234](https://user-images.githubusercontent.com/32896251/31709327-41ecf236-b424-11e7-9def-01b6942c53c4.png) 但是我马上快速在点击进去城市的数据并没有出来, 下面是我的代码片段: ![456](https://user-images.githubusercontent.com/32896251/31709738-770fdd56-b425-11e7-9ad7-9da77ac9c329.png)