add class Header

This commit is contained in:
Talyx
2022-01-07 21:07:37 +03:00
parent 61ed01b849
commit 08c490813a
6 changed files with 170 additions and 65 deletions

View File

@@ -5,6 +5,8 @@
#define BUFFSIZE 1024
class Header;
class Server
{
private:
@@ -18,13 +20,8 @@ private:
private:
void checkError(int fd, std::string str);
void sendFile(std::string str);
void sendHeader(void);
void printRed(std::string str);
void printYellow(std::string str);
void printBlue(std::string str);
void printPink(std::string str);
void printGreen(std::string str);
void printTurguoise(std::string str);
void sendHeader(Header head);
void sendRespons(Header head);
public:
Server();