fix: compatibility with framework-arduinoespressif32 version 3.0.4

This commit is contained in:
Yurii
2024-08-22 04:57:13 +03:00
parent d23527a48b
commit 7eafe4a90b
3 changed files with 16 additions and 0 deletions

View File

@@ -33,6 +33,10 @@ public:
}
#if defined(ARDUINO_ARCH_ESP32)
bool canHandle(WebServer &server, HTTPMethod method, const String uri) override {
return this->canHandle(method, uri);
}
bool canHandle(HTTPMethod method, const String uri) override {
#else
bool canHandle(HTTPMethod method, const String& uri) override {