We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
It would be nice if the HTTP api's fetch function could take a progress callback.
Another option is to provide access to a ReadableStream object as a response type, allowing the developer to access data as it becomes available.
ReadableStream
No response
The text was updated successfully, but these errors were encountered:
For file uploads/downloads in v1 we have a plugin for that which also reports progress: https://github.com/tauri-apps/plugins-workspace/tree/v1/plugins/upload - this will also be faster if you want to save the file to disk anyway because it doesn't pipe the data through the IPC.
That said, i doubt that this would be added to v1, but i think it would fit nicely into v2 with the reworked api.
Sorry, something went wrong.
/upstream tauri-apps/plugins-workspace
Upstream issue at #793 has been closed.
Successfully merging a pull request may close this issue.
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
The text was updated successfully, but these errors were encountered: