Change Variable names and all to snake case
This commit is contained in:
12
request.hpp
12
request.hpp
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user