package rpclib

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rpclib-10.0.0.tbz
sha256=1d62cf36ff3f599286ff6c77a3266b04d9e14df73d3fce078d51ab9c4c7bad3a
sha512=9fe0bc38363c35e5ec185eadc096565f7f76e219bfde62756dee2cbc818e7663e1ce2e730a235f2bf2230a24ff52b29bcc8e1082e0a43d7e6c23f56ad74add43

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.