mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-04 19:59:55 +00:00
38 lines
588 B
C++
38 lines
588 B
C++
#pragma once
|
|
|
|
#include "PhoneAPI.h"
|
|
#include <Arduino.h>
|
|
#include <functional>
|
|
|
|
void initWebServer();
|
|
void createSSLCert();
|
|
|
|
void handleNotFound();
|
|
|
|
void handleWebResponse();
|
|
|
|
void handleJSONChatHistory();
|
|
|
|
void notifyWebUI();
|
|
|
|
void handleHotspot();
|
|
|
|
void handleStyleCSS();
|
|
void handleRoot();
|
|
void handleScriptsScriptJS();
|
|
void handleJSONChatHistoryDummy();
|
|
|
|
void replaceAll(std::string& str, const std::string& from, const std::string& to);
|
|
|
|
class HttpAPI : public PhoneAPI
|
|
{
|
|
|
|
public:
|
|
// Nothing here yet
|
|
|
|
private:
|
|
// Nothing here yet
|
|
|
|
protected:
|
|
// Nothing here yet
|
|
}; |