DarkflameServer/dChatServer/ChatWebAPI.h

23 lines
309 B
C
Raw Normal View History

#ifndef CHATWEBAPI_H
#define CHATWEBAPI_H
2025-01-02 06:45:53 +00:00
#include "mongoose.h"
2025-01-02 06:45:53 +00:00
#include "json_fwd.hpp"
#include "GeneralUtils.h"
2025-01-02 06:45:53 +00:00
using json = nlohmann::json;
2025-01-03 02:42:50 +00:00
typedef struct mg_mgr mg_mgr;
2025-01-02 06:45:53 +00:00
class ChatWebAPI {
public:
ChatWebAPI();
2025-01-02 06:45:53 +00:00
~ChatWebAPI();
void ReceiveRequests();
void Listen();
2025-01-02 06:45:53 +00:00
private:
2025-01-03 02:42:50 +00:00
mg_mgr mgr;
2025-01-02 06:45:53 +00:00
};
2025-01-03 02:09:44 +00:00
#endif