#include "actions.hpp" #include "json.hpp" #include "rpc_server.hpp" int main() { auto rpc = sliger::rpc::RpcServer( [&](std::unique_ptr req, std::unique_ptr writer) { auto action = sliger::rpc::action::action_from_json(std::move(req)); action->perform_action(std::move(writer)); }); rpc.listen(); }