rest_rpc icon indicating copy to clipboard operation
rest_rpc copied to clipboard

modern C++(C++11), simple, easy to use rpc framework

Results 79 rest_rpc issues
Sort by recently updated
recently updated
newest added

在服务端的处理过程中pub会失败,客户端收不到,代码大概如下: ![image](https://user-images.githubusercontent.com/8955625/194701677-d7eb76be-fae7-4061-8cc9-3acf0e12a186.png) 这个场景应该用处比较大,比如执行一个耗时操作,过程中需要通知进度或其它事件。 请问下,目前是不支持这种操作吗?如果不支持,这种场景应该怎么解决

注入DLL使用rest_rpc的server。 python 怎么使用client? c++的库能编译成python调用的文件吗?

前端编写js客户端接口调用函数和上传下载

大佬,我有个问题,使用简单的client端代码,和example中的server.c进行测试,如果在cs链接后,kill -9 干掉server,然后client端会崩溃 client端代码如下: ``` int main() { rpc_client client("127.0.0.1", 9000); bool r = client.connect(); if (!r) { std::cout

try{ rest_rpc::rpc_client rpcClient; printf("start netTping...\n"); rpcClient.enable_auto_heartbeat(); // automatic heartbeat rpcClient.connect("127.0.0.1", 8999, false, 60); // 60s if (!rpcClient.has_connected()) { printf("Error:%s not connect\r\n", __FUNCTION__); return -1; } if(bAsync){ auto f = rpcClient.async_call("netTping",...

bool RepairClient::getTasksFromRepair(QString param, QString &error, QJsonDocument &doc, QNetworkAccessManager &) { //return m_network->getData(param, error, doc); std::thread thd[10]; for(int i=0;i

terminate called after throwing an instance of 'boost::wrapexcept' what(): bind: Address already in use 在linux底下杀掉进程再重新启动进程,会提示端口被复用,这个要怎么加入可复用的参数

刚开始用这个框架,跑首页简单加法的测试代码,租用的远程机器跑的服务端,自己本机跑客户端报错。 libc++abi: terminating with uncaught exception of type std::__1::future_error: The associated promise has been destructed prior to the associated state becoming ready.