add: download files

This commit is contained in:
Talyx
2022-02-07 22:43:14 +03:00
parent fbaebfb3a2
commit a056a923e0
6 changed files with 48 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ private:
unsigned int _sended;
char *_buff;
std::string _stringBUF;
std::string _bodyToSend;
std::string _headerToSend;
std::string _toSend;
@@ -51,6 +51,7 @@ public:
char *getStrToSend(void);
unsigned int getCounter(void) const;
void setRawData(char *);
void setRawData(std::string &);
void setFd(int);
int getFd(void);
unsigned int getRecvCounter(void) const;