package tiny_httpd

  1. Overview
  2. Docs
Minimal HTTP server using threads

Install

Dune Dependency

Authors

Maintainers

Sources

tiny_httpd-0.18.tbz
sha256=ef806444b2f9e53d10976b9124902560d0855124433537080e6d0bec48d202e5
sha512=539530eb9e511b6ed4d69bb083f421d5f51b183c347c116a52f24210f30b1c9b14a029e2b82d6e0d698c74ab75ba5c307a1976711558a1419df287335b2a8f51

doc/tiny_httpd.multipart-form-data/Tiny_httpd_multipart_form_data/index.html

Module Tiny_httpd_multipart_form_dataSource

Streaming parser for multipart/form-data

Sourcemodule Content_disposition : sig ... end
Sourcetype st

Parser state

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

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

Sourcetype event =
  1. | Part of Tiny_httpd.Headers.t
  2. | Read of slice
  3. | End_of_input
Sourceval next : st -> event
Sourcemodule Private_ : sig ... end

/

OCaml

Innovation. Community. Security.