package rpclib

  1. Overview
  2. Docs
A library to deal with RPCs in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.2.0.tbz
sha256=37ec4a4dd53fcb2d38d846415d3a45976d5a78c1531e6d876db2436e947172f3
sha512=4757df16d7cf2220787e2a6532e47130049894741ae1635e017cd583f28c5e55c016768d992c6739da70b29283141070f974f246b1ef467e64b034c5c231b00a

doc/rpclib.core/Idl/Make/index.html

Module Idl.MakeSource

Parameters

module M : MONAD

Signature

Sourcetype client_implementation
Sourcetype server_implementation
Sourcemodule type RPCTRANSFORMER = sig ... end

The module !T, the RPC MONAD transformer, defines the minimal set of types and functions needed for the !GenClient and !GenServer modules to generate clients and servers. These allow to provide different syncronous and asynctronous engines for the client and server implementations.

Sourcemodule ErrM : sig ... end

!ErrM defines monad to use for the implementation and combination of RPC functions

Sourcemodule GenClient () : sig ... end

This module generates Client modules from RPC declarations.

Sourcemodule GenServer () : sig ... end

This module generates a server that dispatches RPC calls to their implementations.