feat(http): implement HTTP server with CLI, request, response, and session

handling
This commit is contained in:
Ваше Имя
2025-09-30 18:34:14 +04:00
parent ba91359db3
commit 9d0a5193a5
13 changed files with 528 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include "tcp_server_base.hpp"
class HttpServer : public TcpServerBase
{
public:
HttpServer(IoContext &io, unsigned short port, std::string rootDir);
protected:
void createSession(TcpSocket socket) override;
private:
std::string rootDir_;
};