From 247d15cdd816af187eaf22c39fb3738efd56d132 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 2 Nov 2023 21:39:36 +0100 Subject: io_codec: concept work on rpc --- c++/io_codec/rpc.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'c++/io_codec/rpc.h') diff --git a/c++/io_codec/rpc.h b/c++/io_codec/rpc.h index 06a5f76..67c4cec 100644 --- a/c++/io_codec/rpc.h +++ b/c++/io_codec/rpc.h @@ -14,4 +14,15 @@ public: conveyor> create_client(); }; + +template<> +class rpc_client { +private: + own stream_; +public: + rpc_client(own stream); + + template + remote_result::type> call(typename request::type req); +}; } -- cgit v1.2.3