package ocplib-resto

  1. Overview
  2. Docs

Parametrized path to services.

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

Innovation. Community. Security.