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
340 B

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