package multipart-form-data

  1. Overview
  2. Docs
Parser for multipart/form-data (RFC2388)

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
md5=9f7088e64d2889191f9269b03ea2c5f6
sha512=fa1a8cb8adda2fa5fff1dbeda76ba294aeb254118db5019d0249b4afecc9fb012ae3566074bbc29d38b53d2196fc5395034db64e4b8d5406ebda56b58707bf75

doc/multipart-form-data/Multipart_form_data/index.html

Module Multipart_form_dataSource

Sourceval align : string Lwt_stream.t -> string -> string Lwt_stream.t Lwt_stream.t

Align a stream on a particular sequence and remove these boundaries.

Sourcetype stream_part
Sourceval s_part_name : stream_part -> string
Sourceval s_part_body : stream_part -> string Lwt_stream.t
Sourceval s_part_filename : stream_part -> string option
Sourceval parse_stream : stream:string Lwt_stream.t -> content_type:string -> stream_part Lwt_stream.t Lwt.t
Sourcetype file
Sourceval file_name : file -> string
Sourceval file_content_type : file -> string
Sourceval file_stream : file -> string Lwt_stream.t
Sourcemodule StringMap : Map.S with type key = string
Sourceval get_parts : stream_part Lwt_stream.t -> [ `String of string | `File of file ] StringMap.t Lwt.t
Sourceval parse : stream:string Lwt_stream.t -> content_type:string -> callback:(name:string -> filename:string -> string -> unit Lwt.t) -> (string * string) list Lwt.t
OCaml

Innovation. Community. Security.