You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
382 B

#pragma once
#include "webserv.hpp"
class Server : public Route {
string _name;
std::map< string, Route * > _routes;
public:
std::vector< listen_t > _listens;
Server(JSONNode *server);
~Server(void);
Master *create_master(string str);
std::vector< Master * > get_sockets(JSONNode *server);
Route *choose_route(string uri);
string getName(void);
};