package piaf

  1. Overview
  2. Docs
type t
module Pp : sig ... end
val parse_content_type : string -> (Multipart_form.Content_type.t, [> `Msg of string ]) Stdlib.result
val result_headers : t -> (string * string) list
val result_fields : t -> (string * Multipart_form.Header.t) list
val parse_multipart_form : content_type:string -> max_chunk_size:int -> emit:(string option -> Bigstringaf.t Faraday.iovec Lwt_stream.t -> unit) -> ?finish:(unit -> unit) -> Bigstringaf.t Faraday.iovec Lwt_stream.t -> (t, [> `Msg of string ]) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.