ElegantOTA icon indicating copy to clipboard operation
ElegantOTA copied to clipboard

Fetching updater status code

Open MythicalForce opened this issue 2 years ago • 0 comments

in the .cpp you find

HTTPUpload& upload = _server->upload();

that inturn gives access to

if (upload.status == UPLOAD_FILE_START) {
if (upload.status == UPLOAD_FILE_WRITE) {
if (upload.status == UPLOAD_FILE_END) {

how can i get access to these status codes inside my code using this lib?

MythicalForce avatar May 01 '22 12:05 MythicalForce