DarkflameServer/dChatServer/ChatWebAPI.h
2025-01-06 01:23:29 -06:00

30 lines
330 B
C++

#ifndef CHATWEBAPI_H
#define CHATWEBAPI_H
#include "mongoose.h"
typedef struct mg_mgr mg_mgr;
class ChatWebAPI {
public:
ChatWebAPI();
~ChatWebAPI();
void ReceiveRequests();
void Listen();
enum class eRoute {
// GET
PLAYERS,
TEAMS,
// POST
ANNOUNCE,
// INVALID
INVALID
};
private:
mg_mgr mgr;
};
#endif