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:
LuckyLaszlo
2022-08-02 21:11:54 +02:00
parent 5aabeb6b46
commit 8f167d85f3
14 changed files with 107 additions and 70 deletions

View File

@@ -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();