ElegantOTA
ElegantOTA copied to clipboard
Fetching updater status code
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?