Added QuickDigest5 for MD5 Hashing, added bare bones responding, added Helper namespace, and minor redesign of methods
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <istream>
|
||||
#include <string>
|
||||
#include <system_error>
|
||||
#include <unordered_map>
|
||||
|
||||
#define IP "127.0.0.1"
|
||||
#define PORT 8000
|
||||
@@ -34,7 +35,8 @@ public:
|
||||
private:
|
||||
HTTPrequest(asio::io_context &context);
|
||||
void readData();
|
||||
void processRequest(std::string request);
|
||||
void processRequest(std::string requestType, std::string requestPath,
|
||||
std::unordered_map<std::string, std::string> request);
|
||||
void writeData(std::string data);
|
||||
|
||||
asio::ip::tcp::socket sock;
|
||||
|
Reference in New Issue
Block a user