Merge branch 'dev'

This commit is contained in:
proddy
2025-12-31 21:26:15 +01:00
parent eaa277fef0
commit 28135c225b
385 changed files with 40221 additions and 38187 deletions

View File

@@ -243,6 +243,9 @@ class AsyncWebServer {
void on(const char * uri, WebRequestMethodComposite method, ArRequestHandlerFunction onRequest) {};
};
#ifndef SSE_MAX_QUEUED_MESSAGES
#define SSE_MAX_QUEUED_MESSAGES 32
#endif
class AsyncEventSource : public AsyncWebHandler {
public:
@@ -252,6 +255,9 @@ class AsyncEventSource : public AsyncWebHandler {
size_t count() const {
return 1;
}
size_t avgPacketsWaiting() const {
return 0;
};
void send(const char * message, const char * event = NULL, uint32_t id = 0, uint32_t reconnect = 0) {};
};