moved CLient class to own dir

This commit is contained in:
whaffman 2025-09-18 12:56:49 +02:00
parent 8e40f538cf
commit 29d6431143
4 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#include <iostream>
#include <webserv/server/Client.hpp>
#include <webserv/client/Client.hpp>
Client::Client(int client_fd, Server &server, const ServerConfig &server_config)
: client_fd(client_fd), server(std::ref(server)), server_config(std::cref(server_config))

View File

@ -4,7 +4,6 @@
#include <cstring> // For memset
#include <fcntl.h> // For fcntl()"
#include <iostream>
#include <map>
#include <netinet/in.h> // For sockaddr_in
#include <ranges> // For std::ranges::find
#include <sys/epoll.h>

View File

@ -2,7 +2,7 @@
#include <functional>
#include <webserv/config/ConfigManager.hpp>
#include <webserv/server/Client.hpp>
#include <webserv/client/Client.hpp>
class Client;