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
246 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);
void set_fds(void);
void refresh(void);
Server *choose_server(Socket *sock, string host);
};