package ocsigenserver

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

Install

Dune Dependency

Authors

Maintainers

Sources

5.1.2.tar.gz
md5=cc9afaa6cad28fb2b6c803ed6cec308f
sha512=9096bc31a55f9d47f5f9b708b16d8b32cfcab99e514bce086046cf78e9731076bf2adac7e68b4291f3a0e65048e70e7c43fa2df8b80ae0eed62840db3e216b77

doc/ocsigenserver/Ocsigen_multipart/index.html

Module Ocsigen_multipartSource

Sourceval section : Lwt_log_core.section

use Lwt_log.Section.set_level in order to debug

Sourceval 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_stream.stream -> unit Lwt.t
Sourcetype content_type = (string * string) * (string * string) list
Sourcetype file_info = {
  1. tmp_filename : string;
  2. filesize : int64;
  3. raw_original_filename : string;
  4. file_content_type : content_type option;
}
Sourcetype post_data = (string * string) list * (string * file_info) list
Sourceval post_params : content_type:content_type -> Cohttp_lwt.Body.t -> (string option -> Int64.t option -> post_data Lwt.t) option
Sourceval parse_content_type : string -> content_type option
OCaml

Innovation. Community. Security.