package yurt

  1. Overview
  2. Docs
type route = [
  1. | `String of string
  2. | `Int of string
  3. | `Float of string
  4. | `Path of string
  5. | `Match of string * string
  6. | `Route of route list
]
type params = (string, route) Stdlib.Hashtbl.t
val string_of_route : route -> string
val regexp_of_route : route -> Str.regexp
val route_of_string : string -> route
val get_params : route -> string -> params
val param_string : params -> string -> string
val param_int : params -> string -> int
val param_float : params -> string -> float
val json_of_params : params -> Ezjsonm.t
OCaml

Innovation. Community. Security.