Edzelf / ESP32Radio-V2

New version of the well known ESP32 Radio. Now optional I2S output!
Apache License 2.0
183 stars 45 forks source link

ESPAsyncWebServer vs Arduino WebServer #48

Closed tsctrl closed 2 years ago

tsctrl commented 2 years ago

hi @Edzelf ,

what would be the reason on using ESPAsyncWebServer over WebServer that already build in Arduino? using existing WebServer implementation will simplify the codes, reduce the app size and compatible with OTA and HTTPS update.

Thanks!

tsctrl commented 2 years ago

It also compatible with eth library too, and is maintained by espressif.

tsctrl commented 2 years ago

hi @Edzelf , i am not able to make the ASync to work with OTA update using https.

I have use WebServer.h with separate task to handle request instead for now. AsyncWebServer is fast. but for my use case. serving a control panel is not worth adding the complexity on the codes with all incompatibility issue for my level of expertise.

tsctrl commented 2 years ago

I have successful decom the ESPAsyncWebServer and AsyncTCP and use espressif WiFi client as in V1, thank you @Edzelf for the code on V2 that separate the logic on this library implementation and the que function make the library interchangeable with very minor changes.

thanks again for this great project! closing this issue..