qicosmos/rest_rpc

是否支持引用方式传参?

Closed this issue · 1 comments

类似如下:

//client
std::string info
client.call("get_info",info)
//info 内容为"hello",并且正常返回info.len

//server
int get_info(std::string & info)
{
info = "hello";
return info.length();
}

非常感谢!