Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Jerboa.request
module consists of the type definition of the Request record.
type t = {
meth : Meth.t;
path : string;
header : Header.t;
path_parameter : (string * string) list;
query_parameter : (string * string list) list;
body : string;
}
Request.t
consists of the main parts of a http request like metho, path, header, paramters and it's body.
val create : Cohttp.Request.t -> Cohttp_lwt.Body.t -> t Lwt.t
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