#include #include "wifimanager.h" class Network { public: Network(std::string hostname, std::string apSsid = "Smart RGB"); bool isConnected() const; std::string getHostname() const; bool setHostname(const std::string &hostname); void registerMDNS(); private: static WIFIMANAGER WifiManager; static AsyncWebServer webServer; const std::string defaultHomepage = R"html( Wifi Manager

Wifi Manager


ESP32 WiFi Manager (c) 2022-2025 by Martin Verges

)html"; std::string hostname; std::string apSsid; // SSID for the fallback AP };