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.

14 lines
238 B

#pragma once
#include "webserv.hpp"
class Env {
2 years ago
std::vector<Server *> _servers;
std::vector<Socket *> _sockets;
2 years ago
public:
2 years ago
Env(JSONNode *conf);
2 years ago
void set_fds();
void refresh();
Server *choose_server(Socket *sock, string host);
};