mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
add class Header
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user