Skip to content

[API Request] new progress API for ESPhttpUpdate download + upload ? #5715

Closed
@IMAN4K

Description

@IMAN4K

Would it be possible to have two new APIs for ESPhttpUpdate class to notify user code for download + upload progress?
Like this:

using prog_cb_t = std::function<void(size_t total, size_t got /* or written */)>();

ESP8266HTTPUpdate::onDownloadProgress(prog_cb_t);
ESP8266HTTPUpdate::onUploadProgress(prog_cb_t)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions