package ezresto

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module EzResto.ArgSource

Typed path argument.

Sourcetype 'a t = 'a Resto.Arg.arg
Sourcetype 'a arg = 'a t
Sourceval make : ?descr:string -> name:string -> destruct:(string -> ('a, string) result) -> construct:('a -> string) -> unit -> 'a arg
Sourcetype descr = Resto.Arg.descr = {
  1. name : string;
  2. descr : string option;
}
Sourceval descr : 'a arg -> descr
Sourceval int : int arg
Sourceval int32 : int32 arg
Sourceval int64 : int64 arg
Sourceval float : float arg
OCaml

Innovation. Community. Security.