Files
firmware/src/mesh/http/WebServer.h

23 lines
372 B
C
Raw Normal View History

#pragma once
2020-10-11 22:13:14 -07:00
#include "PhoneAPI.h"
#include "concurrency/OSThread.h"
#include <Arduino.h>
#include <functional>
void initWebServer();
void createSSLCert();
class WebServerThread : private concurrency::OSThread
{
public:
WebServerThread();
2022-01-05 22:12:32 -08:00
uint32_t requestRestart = 0;
protected:
virtual int32_t runOnce();
};
extern WebServerThread *webServerThread;