Module Tiny_httpd_multipart_form_data

Streaming parser for multipart/form-data

module Content_disposition : sig ... end
type st

Parser state

val create : ?buf_size:int -> ?out_buf_size:int -> boundary:string -> Iostream.In.t -> st
val parse_content_type : Tiny_httpd.Headers.t -> [ `boundary of string ] option

Parse headers for content-type: multipart/form-data; boundary=…

type slice = Iostream.Slice.t
type event =
  1. | Part of Tiny_httpd.Headers.t
  2. | Read of slice
  3. | End_of_input
val next : st -> event
module Private_ : sig ... end

/