开发者

Determining server functions on thrift

开发者 https://www.devze.com 2023-03-14 00:41 出处:网络
I would like to have a client connect to the server and determine what functions the process is accepting with the parameter and return types.

I would like to have a client connect to the server and determine what functions the process is accepting with the parameter and return types.

I'm already able to conn开发者_C百科ect to a service and

The language I would like to do this in is C++.

Does the Thrift API allow provide a method for this?

Thanks.


I do not think general thrift allows for such querying, you need to have thrift idl files upfront and compile them.

If you can control server, you could have some querying layered a top of thrift.

0

精彩评论

暂无评论...
验证码 换一张
取 消