mirror of
https://github.com/esphome/esphome.git
synced 2025-10-24 04:33:49 +01:00
[web_server] Upgrade ESPAsync libraries (#8867)
This commit is contained in:
committed by
GitHub
parent
c612985930
commit
669ef7a0b1
@@ -99,7 +99,7 @@ class DeferredUpdateEventSource : public AsyncEventSource {
|
||||
protected:
|
||||
// surface a couple methods from the base class
|
||||
using AsyncEventSource::handleRequest;
|
||||
using AsyncEventSource::try_send;
|
||||
using AsyncEventSource::send;
|
||||
|
||||
ListEntitiesIterator entities_iterator_;
|
||||
// vector is used very specifically for its zero memory overhead even though items are popped from the front (memory
|
||||
@@ -468,11 +468,11 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||
#endif
|
||||
|
||||
/// Override the web handler's canHandle method.
|
||||
bool canHandle(AsyncWebServerRequest *request) override;
|
||||
bool canHandle(AsyncWebServerRequest *request) const override;
|
||||
/// Override the web handler's handleRequest method.
|
||||
void handleRequest(AsyncWebServerRequest *request) override;
|
||||
/// This web handle is not trivial.
|
||||
bool isRequestHandlerTrivial() override; // NOLINT(readability-identifier-naming)
|
||||
bool isRequestHandlerTrivial() const override; // NOLINT(readability-identifier-naming)
|
||||
|
||||
void add_entity_config(EntityBase *entity, float weight, uint64_t group);
|
||||
void add_sorting_group(uint64_t group_id, const std::string &group_name, float weight);
|
||||
|
||||
Reference in New Issue
Block a user