Reputation: 1783
Piqi-RPC is a service for erlang. This is confusing, because if you look in the sources here, you can see that some of that rpc is written in OCaml. The documentation for piqi makes it seem like the services expose Erlang functions.
My question is all in the title.
Upvotes: 1
Views: 128
Reputation: 2161
Piqi author here. Piqi-RPC is not available for OCaml at the moment, but we'll get there eventually.
piqi_rpc.ml
is used to export some piqi functionality over pipe. There is no stub generator for this yet. For this limited use case, I just call gen_*
and parse_*
functions manually in piqi_server.ml. My plan is to add RPC stub generator to piqic-ocaml
and to change piqi_rpc.ml
to use a new improved and cleaned up RPC protocol version.
Upvotes: 2