package current_rpc

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

Install

Dune Dependency

Authors

Maintainers

Sources

current-0.6.2.tbz
sha256=ed312cab4ce8d13b9547ee2f935a6954f1d5211de1c22d44d85baaeb9f5fca9d
sha512=c2981a2c7f05bd6f235662b74ee3a679cc395be3d2cca808fac3dc562d6307e8bfe05efff40f42fa4738443cc2fe13929bab9d815c43d741950e5e0e1e6da7a6

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.