this repo has no description
at main 22 lines 441 B view raw
1#pragma once 2 3// Project Includes 4#include "file_descriptor.hpp" 5// Standard Library Includes 6#include <cstdint> 7#include <filesystem> 8#include <string_view> 9// Third-Party Library Includes 10#include <exec/static_thread_pool.hpp> 11 12struct ServerContext 13{ 14 std::filesystem::path m_root_directory; 15}; 16 17struct Server 18{ 19 Server(uint16_t port, std::string_view root_directory); 20 ServerContext m_context; 21 FileDescriptor m_server_fd; 22};