okhttp
杨筱毅
路漫漫其修远兮,吾将上下而求索
展开
-
使用OkHttp作为Volley的传输
原文链接 A HttpStack implementation for Volley that uses OkHttp as its transport./** * The MIT License (MIT) * * Copyright (c) 2015 Circle Internet Financial * * Permission is hereby granted, free of原创 2015-08-03 15:04:14 · 5931 阅读 · 3 评论 -
nanoHTTPD 接收 okhttp 上传的文件
Explained before, the client use okhttp upload a file just like the follow code RequestBody requestBody = new MultipartBody.Builder() .setType(MultipartBody.FORM) //sourceFile i原创 2017-04-01 15:30:01 · 5289 阅读 · 0 评论