mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-19 03:22:07 +00:00
23 lines
381 B
C++
23 lines
381 B
C++
#pragma once
|
|
|
|
#include "PhoneAPI.h"
|
|
#include "concurrency/OSThread.h"
|
|
#include <Arduino.h>
|
|
#include <functional>
|
|
|
|
void initWebServer();
|
|
void createSSLCert();
|
|
|
|
class WebServerThread : private concurrency::OSThread
|
|
{
|
|
|
|
public:
|
|
WebServerThread();
|
|
uint32_t requestRestart = 0;
|
|
|
|
protected:
|
|
virtual int32_t runOnce() override;
|
|
};
|
|
|
|
extern WebServerThread *webServerThread;
|