package current_rpc

  1. Overview
  2. Docs
Cap'n Proto RPC plugin for OCurrent

Install

Dune Dependency

Authors

Maintainers

Sources

current-v0.5.tbz
sha256=f8c884318a46a568d965c7e8bac00dfe2339efac04ca6f0cbabef916d8b917ca
sha512=e0633239a7d02cdde6264db96c39ed7e3d1adf3a7f09bb25ad002d388f203b561e8c808daee90539bc0ee15c547d2ab4bef1789dcc9c22ed00b151bad0083f64

doc/current_rpc/Current_rpc/index.html

Module Current_rpcSource

Sourcemodule Job : sig ... end

Client-side API to contact a job service.

Sourcemodule Engine : sig ... end

Client-side API to contact an engine service.

Sourcemodule Impl (Current : sig ... end) : sig ... end

This is used on the server-side to provide access to the OCurrent Engine. Create an instance of the functor with module Rpc = Current_rpc.Impl(Current). We use a functor here just to avoid having Current_rpc depend on Current, which would be annoying for RPC clients.

OCaml

Innovation. Community. Security.