You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason: Using the common HttpClient is blocking the main loop, so whenever a http request went out and a button was pushed while waiting for the response, the button click was not registered. This led to a poor experience really.
However, the ESPAsyncHttpClient is old and buggy and should be refactored. For now I have made changes (like closing connecting when response is received (ref line 113: self->aClient->close(true); ):
Split into methods, the logic finding protocol, port, host etc from the full URL is not working.
Remove the #if and https lines. Don't need that and it is not tested.
The text was updated successfully, but these errors were encountered:
Added the ESPAsyncHttpClient library so I could have async API calls.
However, the ESPAsyncHttpClient is old and buggy and should be refactored. For now I have made changes (like closing connecting when response is received (ref line 113: self->aClient->close(true); ):
The text was updated successfully, but these errors were encountered: