Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传进度条问题new FileInputStream(file), "application/octet-stream" 如何设置上传进度条 #223

Open
lwl49 opened this issue May 27, 2019 · 1 comment

Comments

@lwl49
Copy link

lwl49 commented May 27, 2019

严大大,使用 request.setDefineRequestBody(new FileInputStream(file), "application/octet-stream") 这种方式上传文件,如何实现进度条啊··没看见有demo啊,
这个request 是 StringRequest来的吧

@yanzhenjie
Copy link
Owner

不限制Request的类型,看你想要什么样的结果了。
这个好像是没有进度,可以自己对InputStream封装一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants