🏗️」 wip: Started route class

This commit is contained in:
2025-03-19 17:39:03 +01:00
parent 43df2b18a7
commit 30951f436c
6 changed files with 52 additions and 60 deletions

View File

@ -0,0 +1,30 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Server.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/03/19 14:11:28 by adjoly #+# #+# */
/* Updated: 2025/03/19 16:54:35 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include "Route.hpp"
namespace webserv {
namespace config {
class Server {
public:
protected:
private:
Route *_default;
std::vector<Route *> *_routes;
};
} // namespace config
} // namespace webserv