tauri-apps / tauri-apps/plugins-workspace

[feat] Progress reporting for HTTP API in JS

Open
#2,155 3 comments 0 reactions 0 assignees View on GitHub
plugin: http type: feature request
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.