package piaf

  1. Overview
  2. Docs
type t = private {
  1. name : string;
  2. filename : string option;
  3. content_type : string;
  4. body : Body.t;
}
val stream : ?max_chunk_size:int -> Request.t -> (t Lwt_stream.t, Error.t) Lwt_result.t
val assoc : ?max_chunk_size:int -> Request.t -> ((string * t) list, Error.t) Lwt_result.t