firmware/src/meshwifi/meshhttp.h

38 lines
588 B
C
Raw Normal View History

#pragma once
2020-10-12 05:13:14 +00:00
#include "PhoneAPI.h"
#include <Arduino.h>
#include <functional>
void initWebServer();
void createSSLCert();
void handleNotFound();
void handleWebResponse();
void handleJSONChatHistory();
void notifyWebUI();
2020-09-18 22:33:03 +00:00
void handleHotspot();
2020-09-23 04:01:31 +00:00
void handleStyleCSS();
2020-09-24 02:04:12 +00:00
void handleRoot();
void handleScriptsScriptJS();
void handleJSONChatHistoryDummy();
2020-11-07 06:21:20 +00:00
void replaceAll(std::string& str, const std::string& from, const std::string& to);
2020-10-17 02:38:59 +00:00
class HttpAPI : public PhoneAPI
{
2020-10-12 05:13:14 +00:00
public:
// Nothing here yet
2020-10-12 05:13:14 +00:00
private:
// Nothing here yet
2020-10-12 05:13:14 +00:00
protected:
// Nothing here yet
};