Closed MisiekDP closed 3 years ago
@MisiekDP #define WEBSERVER_H
, will solve the compilation problem, but if you use constants like HTTP_POST
, HTTP_PUT
,
then they will not work properly. issue904
#define WEBSERVER_H
#include "ESPAsyncWebServer.h"
@MisiekDP
#define WEBSERVER_H
, will solve the compilation problem, but if you use constants likeHTTP_POST
,HTTP_PUT
, then they will not work properly. issue904#define WEBSERVER_H #include "ESPAsyncWebServer.h"
Ok, thanks for reply :D But now I can't test it :/
Just starting to use AsyncWebServer and browsing through issues... You are crossing classes between old ESP8266WebServer (synchronous server run in loop) and AsyncWebServer (new ESP32/ESP8266 async webserver). So get rid of ESP8266WebServer.h and change your object to AsyncWebServer server(80);.
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
Hey, I have a problem with this library. Today I wanted to program an project with getting URL with parameters but all the time I got an errors. I use a PlatformioIO too. There are errors: