moved CLient class to own dir
This commit is contained in:
parent
8e40f538cf
commit
29d6431143
@ -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))
|
||||
@ -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>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#include <functional>
|
||||
#include <webserv/config/ConfigManager.hpp>
|
||||
#include <webserv/server/Client.hpp>
|
||||
#include <webserv/client/Client.hpp>
|
||||
|
||||
class Client;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user