Play nice with regular web server on esp32
Include the regular web server first and then the Async in your sketch
This commit is contained in:
parent
decdca5a73
commit
28cdcf666d
|
@ -51,6 +51,7 @@ class AsyncStaticWebHandler;
|
|||
class AsyncCallbackWebHandler;
|
||||
class AsyncResponseStream;
|
||||
|
||||
#ifndef WEBSERVER_H
|
||||
typedef enum {
|
||||
HTTP_GET = 0b00000001,
|
||||
HTTP_POST = 0b00000010,
|
||||
|
@ -61,6 +62,8 @@ typedef enum {
|
|||
HTTP_OPTIONS = 0b01000000,
|
||||
HTTP_ANY = 0b01111111,
|
||||
} WebRequestMethod;
|
||||
#endif
|
||||
|
||||
typedef uint8_t WebRequestMethodComposite;
|
||||
typedef std::function<void(void)> ArDisconnectHandler;
|
||||
|
||||
|
|
Loading…
Reference in New Issue