2022-05-23 02:35:42 +00:00
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "WebServer.h"
|
|
|
|
|
#include "Msg.h"
|
|
|
|
|
|
|
|
|
|
namespace ver_1
|
|
|
|
|
{
|
|
|
|
|
class HttpServer : public WebServer
|
|
|
|
|
{
|
|
|
|
|
public:
|
2022-05-23 10:29:23 +00:00
|
|
|
|
HttpServer(HGMsgPump msgPump, ManagerV1* manager);
|
2022-05-23 02:35:42 +00:00
|
|
|
|
virtual ~HttpServer();
|
|
|
|
|
|
2022-05-23 10:29:23 +00:00
|
|
|
|
ManagerV1* GetManger();
|
2022-05-23 02:35:42 +00:00
|
|
|
|
void Connect(const ConnectParam* param);
|
|
|
|
|
void Command(const HttpCmdParam* param);
|
2022-05-23 10:29:23 +00:00
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
ManagerV1* m_manager;
|
2022-05-23 02:35:42 +00:00
|
|
|
|
};
|
|
|
|
|
}
|