add: struct timeval in Client class, and lifeTime in Request

This commit is contained in:
Talyx
2022-02-01 18:34:50 +03:00
parent f8343098e8
commit 0efe9d1bc3
5 changed files with 28 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ private:
int _ret;
int _row;
int _lifeTime;
unsigned int _contentLength;
unsigned int _received;
unsigned int _headerSize;
@@ -44,6 +45,7 @@ public:
std::string getConnection(void);
ServerConfig *getConfig(void);
int getCode(void);
int getLifeTime(void);
unsigned int getContentLength(void) const;
unsigned int getHeaderSize(void) const;
unsigned int getRecved(void)const;