strtok in more places
This commit is contained in:
parent
236f7399fe
commit
95430a5dc3
3 changed files with 66 additions and 25 deletions
|
@ -28,9 +28,9 @@ private:
|
|||
std::unordered_map<std::string, query_param> _query_params; // kinda goofy, whatever
|
||||
//
|
||||
void parse_request_line(std::string& raw_line);
|
||||
void parse_header(std::string& raw_line);
|
||||
void parse_path(std::string& raw_path);
|
||||
void parse_query_param(std::string& raw_param);
|
||||
void parse_header(char* raw_line);
|
||||
void parse_path(char* raw_path);
|
||||
void parse_query_param(char* raw_param);
|
||||
|
||||
public:
|
||||
request(std::string& raw_data, const std::string& client_ip);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue