forked from me-no-dev/ESPAsyncWebServer
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:
@@ -51,6 +51,7 @@ class AsyncStaticWebHandler;
|
|||||||
class AsyncCallbackWebHandler;
|
class AsyncCallbackWebHandler;
|
||||||
class AsyncResponseStream;
|
class AsyncResponseStream;
|
||||||
|
|
||||||
|
#ifndef WEBSERVER_H
|
||||||
typedef enum {
|
typedef enum {
|
||||||
HTTP_GET = 0b00000001,
|
HTTP_GET = 0b00000001,
|
||||||
HTTP_POST = 0b00000010,
|
HTTP_POST = 0b00000010,
|
||||||
@@ -61,6 +62,8 @@ typedef enum {
|
|||||||
HTTP_OPTIONS = 0b01000000,
|
HTTP_OPTIONS = 0b01000000,
|
||||||
HTTP_ANY = 0b01111111,
|
HTTP_ANY = 0b01111111,
|
||||||
} WebRequestMethod;
|
} WebRequestMethod;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef uint8_t WebRequestMethodComposite;
|
typedef uint8_t WebRequestMethodComposite;
|
||||||
typedef std::function<void(void)> ArDisconnectHandler;
|
typedef std::function<void(void)> ArDisconnectHandler;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user