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

feature: Add custom header for dio client #2

Closed
castletaste opened this issue Jul 5, 2022 · 2 comments
Closed

feature: Add custom header for dio client #2

castletaste opened this issue Jul 5, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@castletaste
Copy link

Description

There is no option to add custom header

Desired Solution

it would be awesome to have a custom header for dio client

Additional Context

There are cases where an apk file should only be accessible only by token, for security reasons

@LiWenHui96
Copy link
Owner

@castletaste 使用 2.3.0 ,采用 downloadUri, saveName, downloadInterceptors, deleteOnError, lengthHeader, data, options 这些字段对 dio 进行粉饰。

@LiWenHui96 LiWenHui96 added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 6, 2022
@LiWenHui96 LiWenHui96 assigned LiWenHui96 and unassigned LiWenHui96 Jul 6, 2022
@LiWenHui96
Copy link
Owner

v2.3.0 已发布,功能完成,并关闭issus。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants