mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
feat: getCounter
This commit is contained in:
@@ -47,6 +47,11 @@ int Client::getFd(void)
|
||||
return _fd;
|
||||
}
|
||||
|
||||
unsigned int Client::getCounter(void) const
|
||||
{
|
||||
return _sended;
|
||||
}
|
||||
|
||||
void Client::setRawData(char *str)
|
||||
{
|
||||
this->_buff = str;
|
||||
|
||||
@@ -30,6 +30,7 @@ public:
|
||||
Request getRequest(void);
|
||||
Response getResponse(void);
|
||||
std::string getStrToSend(void);
|
||||
unsigned int getCounter(void) const;
|
||||
void setRawData(char *);
|
||||
void setFd(int);
|
||||
int getFd(void);
|
||||
|
||||
Reference in New Issue
Block a user