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.

17 lines
383 B

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