2020-09-13 23:58:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include <functional>
|
2020-10-12 03:38:09 +00:00
|
|
|
#include "PhoneAPI.h"
|
2020-09-13 23:58:36 +00:00
|
|
|
|
|
|
|
void initWebServer();
|
2020-10-08 05:02:53 +00:00
|
|
|
void createSSLCert();
|
|
|
|
|
2020-09-13 23:58:36 +00:00
|
|
|
void handleNotFound();
|
|
|
|
|
|
|
|
void handleWebResponse();
|
|
|
|
|
|
|
|
void handleJSONChatHistory();
|
|
|
|
|
|
|
|
void notifyWebUI();
|
|
|
|
|
2020-09-18 22:33:03 +00:00
|
|
|
void handleHotspot();
|
2020-09-19 03:42:35 +00:00
|
|
|
|
2020-09-23 04:01:31 +00:00
|
|
|
void handleStyleCSS();
|
2020-09-24 02:04:12 +00:00
|
|
|
void handleRoot();
|
|
|
|
void handleScriptsScriptJS();
|
2020-10-12 03:38:09 +00:00
|
|
|
void handleJSONChatHistoryDummy();
|
|
|
|
|
|
|
|
class httpAPI : public PhoneAPI
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
// Nothing here yet
|
|
|
|
|
|
|
|
private:
|
|
|
|
// Nothing here yet
|
|
|
|
|
|
|
|
protected:
|
|
|
|
// Nothing here yet
|
|
|
|
|
|
|
|
};
|