This commit is contained in:
qicosmos
2025-10-01 20:18:18 +08:00
parent 21d9551aea
commit 139a8144a8
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
#include "rest_rpc/rpc_client.hpp"
#include "rest_rpc/rpc_server.h"
#include "rest_rpc/rest_rpc_client.hpp"
#include "rest_rpc/rest_rpc_server.h"
@@ -24,9 +24,9 @@ template <> struct call_result<void> {
rpc_errc ec;
};
class client {
class rest_rpc_client {
public:
client() : socket_(get_global_executor()) {}
rest_rpc_client() : socket_(get_global_executor()) {}
auto get_executor() { return socket_.get_executor(); }