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

请教个问题,我在客户端调用时,发现服务端的参数接收不完整. 参数结构体如下所示, 进一步测试发现如果数组某一位的数值是0的话,那之后的数据服务端就不接收了,请问是否有方法能够解决这个问题? #define STEREO_MATCH_IMG_WIDTH 640 #define STEREO_MATCH_IMG_HEIGHT 480 struct StereoData { int nH; int nW; int nC; char leftImg[STEREO_MATCH_IMG_WIDTH * STEREO_MATCH_IMG_HEIGHT * 3]; char rightImg[STEREO_MATCH_IMG_WIDTH * STEREO_MATCH_IMG_HEIGHT * 3];...

代码中的func_id是通过计算字符串的md5得到的,能保证不发生碰撞吗?

Bumps [guava](https://github.com/google/guava) from 29.0-jre to 32.0.0-jre. Release notes Sourced from guava's releases. 32.0.0 Maven <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>32.0.0-jre</version> <!-- or, for Android: --> <version>32.0.0-android</version> </dependency> Jar files 32.0.0-jre.jar 32.0.0-android.jar Guava...

dependencies

我修改了程序中的数据大小和超时限制,但是当我的传输数据大于2G时,程序会挂掉。请问我需要修改哪里,才能传输大规模的数据。

Bumps [testng](https://github.com/cbeust/testng) from 7.0.0 to 7.5.1. Release notes Sourced from testng's releases. TestNG v7.5.1 What's Changed Cherrypick Zip Slip Vulnerability to 7.5 release by @​prashil-g in cbeust/testng#2899 New Contributors @​prashil-g...

dependencies

我在win11 x64上写了个测试,发现subscribe响应时传过来的首字变成乱码,后面的正常,?? 而编译运行你们自带的example没有这个问题,unicode、非unicode、MSGPACK_NO_BOOST、console、mfc这些组合我都试了,都一样的问题 期待能得到回复,先谢了 注: vs2022 使用的是c++14 rest_rpc是3-28-23从github下载回来的 我是在同一个exe中开启的server及client ![image](https://user-images.githubusercontent.com/33587946/228411135-14a29237-6b8a-4b25-aa46-1a04e5c33958.png)

请问怎么支持union类型的参数, union内部包括自定义结构体的情况。例如 struct Params{ int type; union { struct Type0 { int param1; int param2; ... }type0; }; };

项目需求用的unicode编码,想要rpc支持下std::wstring方便存取