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