mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-05-10 21:18:46 +02:00
「🏗️」 wip: Started route class
This commit is contained in:
30
includes/config/Server.hpp
Normal file
30
includes/config/Server.hpp
Normal 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
|
Reference in New Issue
Block a user