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

upload增加分片处理大文件功能 #2154

Closed
WangHone opened this Issue Sep 19, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@WangHone

WangHone commented Sep 19, 2018

What problem does this feature solve?

上传大文件时,上传附件功能增加分片处理大文件功能

What does the proposed API look like?

增加以下三个属性
chunked:是否要分片处理大文件上传。
chunkSize :如果要分片,分多大一片。
chunkRetry : 如果某个分片由于网络问题出错,允许自动重传多少次。

@cipchk

This comment has been minimized.

Member

cipchk commented Sep 19, 2018

暂时可以参考 custom-request.ts 一个简单的分片上传方法(示例)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment