Template
1
0

Made args processing, header processing, and body processing inline methods. Additionally now most variables are class level instead of method level

This commit is contained in:
2025-07-03 00:04:03 +03:00
parent 64bc7d0fb7
commit b6e83e0216
3 changed files with 87 additions and 74 deletions

View File

@@ -6,10 +6,7 @@ void HTTPrequest::start() {
processHTTPHeader();
}
void HTTPrequest::processRequest(
std::string requestType, std::string requestPath,
std::unordered_map<std::string, std::string> request,
std::unordered_map<std::string, std::string> args) {
void HTTPrequest::processRequest() {
//
// This is where we will process requests
//