package ocplib-resto

  1. Overview
  2. Docs

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.