Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Contract.RequestSourcetype t = {method_ : Endpoint.method_;path : string;query : (string * string) list;body : Yojson.Safe.t option;}Pure HTTP-like request value used by the validator.
Query values are already split into key/value pairs. The library does not parse URLs or perform percent-decoding yet.
val make :
?query:(string * string) list ->
?body:Yojson.Safe.t ->
method_:Endpoint.method_ ->
path:string ->
unit ->
t