Add support for mDNS #161

This commit is contained in:
proddy
2021-10-18 13:02:22 +02:00
parent e17ce9c3b5
commit 45fc6daa4a
7 changed files with 40 additions and 20 deletions

View File

@@ -25,6 +25,8 @@
#include <SecurityManager.h>
#include <AsyncMqttClient.h>
#include <ESPmDNS.h>
#define EMSESP_STATUS_SERVICE_PATH "/rest/emsespStatus"
namespace emsesp {
@@ -36,6 +38,7 @@ class WebStatusService {
private:
void webStatusService(AsyncWebServerRequest * request);
void WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info);
void mDNS_start();
};
} // namespace emsesp