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

[http] Progress reporting for HTTP API in JS #793

Closed
tauri-bot opened this issue Dec 4, 2023 · 0 comments
Closed

[http] Progress reporting for HTTP API in JS #793

tauri-bot opened this issue Dec 4, 2023 · 0 comments
Labels
enhancement New feature or request plugin: http

Comments

@tauri-bot
Copy link

This issue has been upstreamed from #2155

Describe the problem

When using the Tauri HTTP API, I'd like to know how much of a file is downloaded so that I can create a progress bar in my app.

Describe the solution you'd like

It would be nice if the HTTP api's fetch function could take a progress callback.

Alternatives considered

Another option is to provide access to a ReadableStream object as a response type, allowing the developer to access data as it becomes available.

Additional context

No response

@FabianLars FabianLars changed the title [feat] Progress reporting for HTTP API in JS [http] Progress reporting for HTTP API in JS Dec 4, 2023
@FabianLars FabianLars added the enhancement New feature or request label Dec 4, 2023
@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin: http
Projects
None yet
Development

No branches or pull requests

2 participants