Add namespace

This commit is contained in:
Pablu23
2024-07-11 18:34:11 +02:00
parent e9a7062c07
commit 87b717545b
10 changed files with 34 additions and 12 deletions

View File

@@ -11,6 +11,7 @@
#include <queue>
#include <string>
namespace http {
class Router {
private:
std::map<std::string, std::function<Response(Request, Response)>> m_routes;
@@ -36,5 +37,6 @@ public:
int Start();
int Stop();
};
} // namespace http
#endif // !ROUTER_H