package tiny_httpd

  1. Overview
  2. Docs
Minimal HTTP server using threads

Install

Dune Dependency

Authors

Maintainers

Sources

tiny_httpd-0.19.tbz
sha256=55b6eed7d2e41b9b2a282b344e01ca010abdba66cbbbbe5adab18303b9ff8360
sha512=98c599627b9cd98f641d389e022f9ddc025bfba838793267904b94a01b0b40b3b4cfd8f5a8d8214aaa947958e45cecbe1df751692a461f929802714d7af50e06

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.