package piaf

  1. Overview
  2. Docs
module Multipart_form = Piaf_multipart_form.Multipart_form
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 Piaf_stream.t -> unit) -> ?finish:(unit -> unit) -> Bigstringaf.t Faraday.iovec Piaf_stream.t -> (t, [> `Msg of string ]) Stdlib.result
OCaml

Innovation. Community. Security.