Started event handling

This commit is contained in:
Pax1601
2023-02-25 18:03:31 +01:00
parent abf5f40020
commit 93b1ac8f81
21 changed files with 140 additions and 310 deletions

View File

@@ -12,10 +12,13 @@ class Server
{
public:
Server(lua_State* L);
~Server();
void start(lua_State* L);
void stop(lua_State* L);
private:
std::thread* serverThread;
json::value answer;
void handle_options(http_request request);
void handle_get(http_request request);