package ocplib-resto

  1. Overview
  2. Docs
Minimal OCaml library for type-safe HTTP/JSON RPCs.

Install

Dune Dependency

Authors

Maintainers

Sources

ocplib-resto_0.1.tar.gz
sha256=bee2c7a395f2fc1518584d5feb13696d590a7eb4dbd39f40605dc368042e0271
md5=0433b7493bf8cd05fcb164e7482fa12e

doc/ocplib-resto/EzResto/Path/index.html

Module EzResto.Path

Parametrized path to services.

type 'params path = (unit, 'params) Resto_impl.Path.path
val root : unit path
val add_suffix : 'params path -> string -> 'params path
val (/) : 'params path -> string -> 'params path
val add_arg : 'params path -> 'a Arg.arg -> ('params * 'a) path
val (/:) : 'params path -> 'a Arg.arg -> ('params * 'a) path
val map : ('a -> 'b) -> ('b -> 'a) -> 'a path -> 'b path
OCaml

Innovation. Community. Security.