basic HTTP GET response
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
# include <string>
|
||||
# include <map>
|
||||
|
||||
class Client
|
||||
struct Client
|
||||
{
|
||||
public:
|
||||
// public:
|
||||
// Client(Placeholder);
|
||||
// Client();
|
||||
// Client(Client const &src);
|
||||
@@ -18,9 +18,11 @@ class Client
|
||||
int fd;
|
||||
std::string raw_request;
|
||||
std::map<std::string, std::string> request;
|
||||
std::map<std::string, std::string> response;
|
||||
// std::map<std::string, std::string> response;
|
||||
std::string response;
|
||||
unsigned int status;
|
||||
|
||||
private:
|
||||
// private:
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user