feat: getCounter

This commit is contained in:
3lswear
2022-01-29 23:52:28 +03:00
parent 4ebce356a1
commit 180dc6c699
2 changed files with 6 additions and 0 deletions

View File

@@ -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;

View File

@@ -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);