Skip to content

[feat] Progress reporting for HTTP API in JS #2155

@lewisfm

Description

@lewisfm

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions