wip integration of client.request and ServerConfig
+ Client get return reference + wip binary flags for http_method + moved config parser files
This commit is contained in:
@@ -30,11 +30,12 @@ class Client
|
||||
std::string response;
|
||||
unsigned int status;
|
||||
|
||||
std::string get_method();
|
||||
std::string get_path();
|
||||
std::string get_version();
|
||||
std::string get_body();
|
||||
std::string get_headers(std::string key);
|
||||
// const functions ?
|
||||
std::string &get_method();
|
||||
std::string &get_path();
|
||||
std::string &get_version();
|
||||
std::string &get_body();
|
||||
std::string &get_headers(const std::string &key);
|
||||
|
||||
void parse_request();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user