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

@@ -11,9 +11,9 @@ namespace http {
class Node {
public:
bool m_isValue;
bool m_isDummy;
std::string m_subPath;
bool m_is_value;
bool m_is_dummy;
std::string m_sub_path;
std::map<std::string, std::shared_ptr<Node>> m_next;
std::function<void(Request, Response *)> m_function;
@@ -31,9 +31,9 @@ private:
public:
Tree(std::string method);
void AddPath(std::string, std::function<void(Request, Response *)>);
std::optional<std::function<void(Request, Response *)>> Get(std::string);
void DebugPrint();
void add_path(std::string, std::function<void(Request, Response *)>);
std::optional<std::function<void(Request, Response *)>> get(std::string);
void debug_Print();
};
} // namespace http