package yurt

  1. Overview
  2. Docs
type t = (string, string list) Stdlib.Hashtbl.t
val query_all : Request.t -> (string * string list) list
val query_dict_of_query : (string * string list) list -> (string, string list) Stdlib.Hashtbl.t
val get : Request.t -> (string, string list) Stdlib.Hashtbl.t

Get a hashtable of all query string parameters

val to_json : Request.t -> Ezjsonm.t

Convert all query string paramters to a json object

val string : Request.t -> string -> string option

Get a string value for a single query string value by key

val int : Request.t -> string -> int option

Get an int value for a single query string value by key

val float : Request.t -> string -> float option

Get a float value for a single query string value by key

val json : Request.t -> string -> [> Ezjsonm.t ] option

Get a json value for a single query string value by key

OCaml

Innovation. Community. Security.