package jerboa

  1. Overview
  2. Docs

Jerboa.request module consists of the type definition of the Request record.

type t = {
  1. meth : Meth.t;
  2. path : string;
  3. header : Header.t;
  4. path_parameter : (string * string) list;
  5. query_parameter : (string * string list) list;
  6. body : string;
}

Request.t consists of the main parts of a http request like metho, path, header, paramters and it's body.

val find_path_parameter : (string * string) Base.List.t -> (Path.t * string) -> (string * string) Base.List.t
val find_path_parameters : (Path.t * string) Base.List.t -> (string * string) Base.List.t
val add_path_parameters : t -> Path.t Base.List.t -> t
OCaml

Innovation. Community. Security.