package opium_kernel

  1. Overview
  2. Docs

Module Opium_kernel.RouteSource

Sourcetype path_segment =
  1. | Match of string
  2. | Param of string
  3. | Splat
  4. | FullSplat
  5. | Slash
Sourceval path_segment_of_sexp : Sexplib0.Sexp.t -> path_segment
Sourceval sexp_of_path_segment : path_segment -> Sexplib0.Sexp.t
Sourcetype matches = {
  1. params : (string * string) list;
  2. splat : string list;
}
Sourceval splat : matches -> string list
Sourceval params : matches -> (string * string) list
Sourcemodule Fields_of_matches : sig ... end
Sourceval matches_of_sexp : Sexplib0.Sexp.t -> matches
Sourceval sexp_of_matches : matches -> Sexplib0.Sexp.t
Sourcetype t = path_segment list
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval parse_param : string -> path_segment
Sourceval of_list : string list -> path_segment list
Sourceval split_slash_delim : string -> [> `Delim | `Text of string ] list
Sourceval split_slash : string -> string list
Sourceval of_string : string -> path_segment list
Sourceval to_string : path_segment list -> string
Sourceval match_url : path_segment list -> string -> matches option
OCaml

Innovation. Community. Security.