fix: remove const qualifier from respond and poll methods in Client class

This commit is contained in:
Quinten 2025-11-11 16:28:44 +01:00
parent f146f41bb8
commit 77e09f43ed

View File

@ -39,8 +39,8 @@ class Client
~Client(); ~Client();
void request(); void request();
void respond() const; void respond();
void poll() const; void poll();
[[nodiscard]] ASocket &getSocket(int fd = -1) const; [[nodiscard]] ASocket &getSocket(int fd = -1) const;
@ -63,6 +63,7 @@ class Client
std::unordered_map<int, ASocket *> sockets_; std::unordered_map<int, ASocket *> sockets_;
Server &server_; Server &server_;
long writeOffset_ = 0;
// void writeToCgi(); // void writeToCgi();
// void readFromCgi(); // void readFromCgi();
}; };