You can search for identifiers within the package.
in-package search v0.2.0
opium
Opium.Route
Expression that represent a target or multiple
type t
type matches = {
params : (string * string) list;
splat : string list;
}
val sexp_of_matches : matches -> Sexplib0.Sexp.t
sexp_of_t matches converts the matches matches to an s-expression
sexp_of_t matches
matches
val of_string : string -> t
of_string s returns a route from its string representation s.
of_string s
s
val to_string : t -> string
to_string t returns a string representation of the route t.
to_string t
t
val match_url : t -> string -> matches option
match_url t url return the matches of the url url for the route t, or None if the url does not match.
match_url t url
url
None