Change Variable names and all to snake case

This commit is contained in:
Pablu23
2024-11-13 16:01:17 +01:00
parent 1797b3c0ef
commit a3a5280f17
10 changed files with 91 additions and 93 deletions

View File

@@ -12,20 +12,20 @@ class Request {
private:
std::map<std::string, std::string> m_headers;
std::string m_method;
std::string m_pathRaw;
std::string m_path_raw;
std::vector<std::byte> m_payload;
std::string m_protocol;
private:
bool protocol(std::stringstream *ss, int *procPart, char c);
bool protocol(std::stringstream *ss, int *proc_part, char c);
public:
Path path;
explicit Request(std::vector<std::byte> buf);
void Print();
bool HasData();
std::string Method();
std::vector<std::byte> Data();
void print();
bool has_data();
std::string method();
std::vector<std::byte> data();
};
} // namespace http