package yurt

  1. Overview
  2. Docs
exception Invalid_multipart_form
val urlencoded : Body.t -> (string, string list) Stdlib.Hashtbl.t Lwt.t
val urlencoded_list : Body.t -> (string * string list) list Lwt.t
val urlencoded_json : Body.t -> Ezjsonm.t Lwt.t
type multipart = {
  1. mutable data : char Lwt_stream.t;
  2. mutable name : string;
  3. attr : (string, string list) Stdlib.Hashtbl.t;
}
val get_attr : multipart -> string -> string list
val is_multipart : Request.t -> bool
val multipart : Request.t -> Body.t -> multipart list Lwt.t
type form =
  1. | Multipart of multipart list
  2. | Urlencoded of (string, string list) Stdlib.Hashtbl.t
val parse_form : Request.t -> Body.t -> form Lwt.t
OCaml

Innovation. Community. Security.