Vcaml_debug.Toplevel_clientSourceThis is a barebones implementation of Msgpack RPC for Neovim to facilitate debugging problems in the VCaml library by seeing if the problem is in VCaml or Neovim.
Open a connection to a running Neovim instance. You can find the name by checking v:servername or $NVIM_LISTEN_ADDRESS.
Get the channel for this connection. Once you have this you can issue rpcrequest and rpcnotify calls from your running Neovim instance to Ocaml.
Respond to an rpcrequest. The msgid must be the same as the one Neovim sent.
Receive a message from Neovim.
Read all available messages from Neovim. Useful for cases where you expect many messages, e.g., for event subscriptions.
Enable / disable printing messages as they are sent and received.