mte/unikernel/duniverse/dune_/otherlibs/dune-rpc-lwt/examples/rpc_client
2025-11-11 02:07:51 +01:00
..
test 2025-11-11 02:07:51 +01:00
dune 2025-11-11 02:07:51 +01:00
README.md 2025-11-11 02:07:51 +01:00
rpc_client.ml 2025-11-11 02:07:51 +01:00

RPC Client Example

This project contains an executable rpc_client which connects to the RPC server started when Dune is run in watch mode. To use this program, start Dune in watch mode:

$ dune build --watch

Then run rpc_client from the same directory as dune was run from. The rpc_client program will connect to the server (dune build --watch starts an RPC server) and perform several RPC calls to it before instructing the server (over RPC) to shutdown.