ayushsharma82 / ElegantOTA

OTA updates made slick and simple for everyone!
https://elegantota.pro
GNU Affero General Public License v3.0
644 stars 119 forks source link

Fetching updater status code #84

Closed MythicalForce closed 1 year ago

MythicalForce commented 2 years ago

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?

ayushsharma82 commented 1 year ago

Irrelevant to ElegantOTA.