#pragma once #include "webserv.hpp" class Server : public Route { string _name; std::map _routes; public: std::vector _listens; Server(JSONNode *server); ~Server(); std::vector get_sockets(JSONNode *server); Route *get_route(string uri); };