#pragma once #include "EPollManager.h" #include "SocketManager.h" #include "Types.h" #include namespace VWeb { struct ServerConfig { int Port{9020}; int MaxBufferSize{-1}; int BufferSize{16384}; int WorkerThreads{-1}; int MaxEvents{5000}; bool AllowSharedLibs{true}; Ref EPoll{nullptr}; Ref Socket{nullptr}; std::string ErrorDir; std::string MimeFiles; }; }