WLG/utility/tcp_cgi.hpp

25 lines
452 B
C++
Raw Normal View History

2024-10-21 18:42:35 +08:00
#ifndef TCPCGI_H
#define TCPCGI_H
#include <vector>
#include <string>
#include <boost/asio.hpp>
#include <boost/thread/thread.hpp>
#include <boost/lexical_cast.hpp>
#include <json/json.h>
#include <boost/array.hpp>
2024-10-22 20:56:21 +08:00
#include "common/common_func.hpp"
#include "common/global.hpp"
#include "localserver/local_server.hpp"
2024-10-21 18:42:35 +08:00
2024-10-22 20:56:21 +08:00
class TcpCgi {
2024-10-21 18:42:35 +08:00
public:
TcpCgi();
2024-10-22 19:04:25 +08:00
~TcpCgi();
2024-10-22 20:56:21 +08:00
static void startCgiServer();
2025-01-09 20:00:34 +08:00
static void startTCPServer();
2024-10-21 18:42:35 +08:00
};
#endif