package rpclib

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

Install

Dune Dependency

Authors

Maintainers

Sources

rpclib-9.0.0.tbz
sha256=ce23eb756c028d9374bd19823296bddb7c237d3f055452d30d1cf7d15216e963
sha512=d4dfd7a9ee1b7996c24819ac1895925af0ad732f117c6e06cd28c215b14aa094dbd045e44d7f84c0eeb7ab807ed970d6879c29d07b02377fcb928325124ba7f6

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.

OCaml

Innovation. Community. Security.