30 lines
466 B
C++
30 lines
466 B
C++
|
|
#ifndef CLIENT_HPP
|
|
# define CLIENT_HPP
|
|
|
|
# include <iostream>
|
|
# include <string>
|
|
# include <map>
|
|
|
|
struct Client
|
|
{
|
|
// public:
|
|
// Client(Placeholder);
|
|
// Client();
|
|
// Client(Client const &src);
|
|
// ~Client();
|
|
// Client &operator=(Client const &rhs);
|
|
|
|
int fd;
|
|
std::string raw_request;
|
|
std::map<std::string, std::string> request;
|
|
// std::map<std::string, std::string> response;
|
|
std::string response;
|
|
unsigned int status;
|
|
|
|
// private:
|
|
|
|
};
|
|
|
|
#endif
|