The current implementation of WebServer depends on a library (WIFiWebServer) that does not cooperate well with the way we are using the ESP. This new implementation uses ESPAsyncWebServer which is a better citizen.
There seems to be a lot of code changes, but a lot of it is some reorganization of the webServer.h file, and the addition of several comments. The main impact on the code was :
Request handlers are split into separate GET and PUT handlers due to the way JSON is passed in the PUTs.
Scans are now asynchronous, so it is the client's responsibility to make sure they are getting data.
The join is also async. This actually made the join process more robust and helped clean up the Web app join mechanism.
Updates to the Web app will come in a separate PR.
The current implementation of WebServer depends on a library (WIFiWebServer) that does not cooperate well with the way we are using the ESP. This new implementation uses ESPAsyncWebServer which is a better citizen.
There seems to be a lot of code changes, but a lot of it is some reorganization of the webServer.h file, and the addition of several comments. The main impact on the code was :
Updates to the Web app will come in a separate PR.