diff --git a/webserv/client/Client.hpp b/webserv/client/Client.hpp index 8f91ef1..5646069 100644 --- a/webserv/client/Client.hpp +++ b/webserv/client/Client.hpp @@ -39,8 +39,8 @@ class Client ~Client(); void request(); - void respond() const; - void poll() const; + void respond(); + void poll(); [[nodiscard]] ASocket &getSocket(int fd = -1) const; @@ -63,6 +63,7 @@ class Client std::unordered_map sockets_; Server &server_; + long writeOffset_ = 0; // void writeToCgi(); // void readFromCgi(); }; \ No newline at end of file