package naboris

  1. Overview
  2. Docs

Module to extract routing data.

type t
val path : t -> string list

Get path (list(string)) of t.

val meth : t -> Method.t

Get http method (Method.t) of t.

val rawQuery : t -> string

Get query sring of t.

val query : t -> string list Naboris__.Query.QueryMap.t

Get query map Query.QueryMap.t(list(string)) ot t.

val create : string list -> Method.t -> string -> string list Naboris__.Query.QueryMap.t -> t

Intended for internal use.

Create route record t.

OCaml

Innovation. Community. Security.