Skip to content

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

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

Closed
IMAN4K opened this issue Feb 4, 2019 · 1 comment
Closed

Comments

@IMAN4K
Copy link
Contributor

IMAN4K commented Feb 4, 2019

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)
@bendtherules
Copy link

Doc link: #4010 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants