#pragma once #include "socket.hpp" #include #include #include #include #include #include namespace slige_rpc { /// - load code /// - program input /// - run /// - run debug /// - fwamegwaph option /// - code covewage option /// - fetch fwamegwaph /// - json string /// - fetch code covewage /// - json string /// - fetch stack /// - json string class RpcServer { public: auto static bind(uint16_t port) -> std::variant; private: RpcServer(slige_socket::ServerSocket socket) : socket(socket) { } slige_socket::ServerSocket socket; }; };