package ocsigenserver

  1. Overview
  2. Docs
A full-featured and extensible Web server

Install

dune-project
 Dependency

Authors

Maintainers

Sources

8.0.0.tar.gz
md5=be7a28e3a79cc028d35c88eca538ee8b
sha512=08cdaab31864aeba743ad0c03077a6eccf1089e7b7c4078045dab9409d409144b70cc546df7881b64b780689eee642ca2391be84ab2a6a8ffee0fbed2ad5ac98

doc/ocsigenserver/Ocsigen/Multipart/index.html

Module Ocsigen.Multipart

val section : Logs.src
val scan_multipart_body_from_stream : ?max_size:Int64.t -> boundary:string -> create:((string * string) list -> 'a) -> add:('a -> string -> unit Lwt.t) -> stop:(int64 -> 'a -> 'b Lwt.t) -> string Ocsigen_base.Ocsigen_stream.stream -> unit Lwt.t
type content_type = (string * string) * (string * string) list
type file_info = {
  1. tmp_filename : string;
  2. filesize : int64;
  3. raw_original_filename : string;
  4. file_content_type : content_type option;
}
type post_data = (string * string) list * (string * file_info) list
val post_params : content_type:content_type -> Cohttp_lwt.Body.t -> (string option -> Int64.t option -> post_data Lwt.t) option
val parse_content_type : string -> content_type option