Make startup cleaner and don't listen by default

This commit is contained in:
Aaron Kimbre
2025-01-02 16:35:27 -06:00
parent 2d08ec641c
commit 126701b5fe
3 changed files with 11 additions and 9 deletions

View File

@@ -12,6 +12,7 @@ public:
ChatWebAPI();
~ChatWebAPI();
void ReceiveRequests();
void Listen();
private:
struct mg_mgr mgr;
static void HandleRequests(struct mg_connection *c, int ev, void *ev_data);