This commit is contained in:
c-cube 2024-12-03 15:28:30 +00:00
parent 25e5517c9c
commit ab5ef34928
8 changed files with 19 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Content_disposition (tiny_httpd.Tiny_httpd_multipart_form_data.Content_disposition)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">tiny_httpd</a> &#x00BB; <a href="../index.html">Tiny_httpd_multipart_form_data</a> &#x00BB; Content_disposition</nav><header class="odoc-preamble"><h1>Module <code><span>Tiny_httpd_multipart_form_data.Content_disposition</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-t"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><ol><li id="type-t.kind" class="def record field anchored"><a href="#type-t.kind" class="anchor"></a><code><span>kind : string;</span></code></li><li id="type-t.name" class="def record field anchored"><a href="#type-t.name" class="anchor"></a><code><span>name : <span>string option</span>;</span></code></li><li id="type-t.filename" class="def record field anchored"><a href="#type-t.filename" class="anchor"></a><code><span>filename : <span>string option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_string"><a href="#val-to_string" class="anchor"></a><code><span><span class="keyword">val</span> to_string : <span><a href="#type-t">t</a> <span class="arrow">&#45;&gt;</span></span> string</span></code></div><div class="spec-doc"><p>Simple display</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse"><a href="#val-parse" class="anchor"></a><code><span><span class="keyword">val</span> parse : <span><a href="../../Tiny_httpd_core/Headers/index.html#type-t">Tiny_httpd.Headers.t</a> <span class="arrow">&#45;&gt;</span></span> <span><a href="#type-t">t</a> option</span></span></code></div></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Private_ (tiny_httpd.Tiny_httpd_multipart_form_data.Private_)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">tiny_httpd</a> &#x00BB; <a href="../index.html">Tiny_httpd_multipart_form_data</a> &#x00BB; Private_</nav><header class="odoc-preamble"><h1>Module <code><span>Tiny_httpd_multipart_form_data.Private_</span></code></h1><p>/</p><p>/</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type anchored" id="type-chunk"><a href="#type-chunk" class="anchor"></a><code><span><span class="keyword">type</span> chunk</span><span> = </span></code><ol><li id="type-chunk.Delim" class="def variant constructor anchored"><a href="#type-chunk.Delim" class="anchor"></a><code><span>| </span><span><span class="constructor">Delim</span></span></code></li><li id="type-chunk.Eof" class="def variant constructor anchored"><a href="#type-chunk.Eof" class="anchor"></a><code><span>| </span><span><span class="constructor">Eof</span></span></code></li><li id="type-chunk.Read" class="def variant constructor anchored"><a href="#type-chunk.Read" class="anchor"></a><code><span>| </span><span><span class="constructor">Read</span> <span class="keyword">of</span> int</span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-read_chunk_"><a href="#val-read_chunk_" class="anchor"></a><code><span><span class="keyword">val</span> read_chunk_ : <span><a href="../index.html#type-st">st</a> <span class="arrow">&#45;&gt;</span></span> <span>bytes <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <span>int <span class="arrow">&#45;&gt;</span></span> <a href="#type-chunk">chunk</a></span></code></div></div></div></body></html>

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tiny_httpd_multipart_form_data (tiny_httpd.Tiny_httpd_multipart_form_data)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">tiny_httpd</a> &#x00BB; Tiny_httpd_multipart_form_data</nav><header class="odoc-preamble"><h1>Module <code><span>Tiny_httpd_multipart_form_data</span></code></h1><p>Streaming parser for multipart/form-data</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-Content_disposition"><a href="#module-Content_disposition" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Content_disposition/index.html">Content_disposition</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-st"><a href="#type-st" class="anchor"></a><code><span><span class="keyword">type</span> st</span></code></div><div class="spec-doc"><p>Parser state</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-create"><a href="#val-create" class="anchor"></a><code><span><span class="keyword">val</span> create :
<span><span class="optlabel">?buf_size</span>:int <span class="arrow">&#45;&gt;</span></span>
<span><span class="optlabel">?out_buf_size</span>:int <span class="arrow">&#45;&gt;</span></span>
<span><span class="label">boundary</span>:string <span class="arrow">&#45;&gt;</span></span>
<span><a href="../../iostream/Iostream/In/class-type-t/index.html">Iostream.In.t</a> <span class="arrow">&#45;&gt;</span></span>
<a href="#type-st">st</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_content_type"><a href="#val-parse_content_type" class="anchor"></a><code><span><span class="keyword">val</span> parse_content_type : <span><a href="../Tiny_httpd_core/Headers/index.html#type-t">Tiny_httpd.Headers.t</a> <span class="arrow">&#45;&gt;</span></span> <span><span>[ <span>`boundary of string</span> ]</span> option</span></span></code></div><div class="spec-doc"><p>Parse headers for <code>content-type: multipart/form-data; boundary=…</code></p></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-slice"><a href="#type-slice" class="anchor"></a><code><span><span class="keyword">type</span> slice</span><span> = <a href="../../iostream/Iostream/Slice/index.html#type-t">Iostream.Slice.t</a></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-event"><a href="#type-event" class="anchor"></a><code><span><span class="keyword">type</span> event</span><span> = </span></code><ol><li id="type-event.Part" class="def variant constructor anchored"><a href="#type-event.Part" class="anchor"></a><code><span>| </span><span><span class="constructor">Part</span> <span class="keyword">of</span> <a href="../Tiny_httpd_core/Headers/index.html#type-t">Tiny_httpd.Headers.t</a></span></code></li><li id="type-event.Read" class="def variant constructor anchored"><a href="#type-event.Read" class="anchor"></a><code><span>| </span><span><span class="constructor">Read</span> <span class="keyword">of</span> <a href="#type-slice">slice</a></span></code></li><li id="type-event.End_of_input" class="def variant constructor anchored"><a href="#type-event.End_of_input" class="anchor"></a><code><span>| </span><span><span class="constructor">End_of_input</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-next"><a href="#val-next" class="anchor"></a><code><span><span class="keyword">val</span> next : <span><a href="#type-st">st</a> <span class="arrow">&#45;&gt;</span></span> <a href="#type-event">event</a></span></code></div></div><div class="odoc-spec"><div class="spec module anchored" id="module-Private_"><a href="#module-Private_" class="anchor"></a><code><span><span class="keyword">module</span> <a href="Private_/index.html">Private_</a></span><span> : <span class="keyword">sig</span> ... <span class="keyword">end</span></span></code></div><div class="spec-doc"><p>/</p></div></div></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tiny_httpd_multipart_form_data__ (tiny_httpd.Tiny_httpd_multipart_form_data__)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">tiny_httpd</a> &#x00BB; Tiny_httpd_multipart_form_data__</nav><header class="odoc-preamble"><h1>Module <code><span>Tiny_httpd_multipart_form_data__</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tiny_httpd_multipart_form_data__Content_disposition (tiny_httpd.Tiny_httpd_multipart_form_data__Content_disposition)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">tiny_httpd</a> &#x00BB; Tiny_httpd_multipart_form_data__Content_disposition</nav><header class="odoc-preamble"><h1>Module <code><span>Tiny_httpd_multipart_form_data__Content_disposition</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tiny_httpd_multipart_form_data__Utils_ (tiny_httpd.Tiny_httpd_multipart_form_data__Utils_)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../index.html">tiny_httpd</a> &#x00BB; Tiny_httpd_multipart_form_data__Utils_</nav><header class="odoc-preamble"><h1>Module <code><span>Tiny_httpd_multipart_form_data__Utils_</span></code></h1></header><div class="odoc-content"><p>This module is hidden.</p></div></body></html>

View file

@ -1,2 +1,2 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (tiny_httpd.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> tiny_httpd</nav><header class="odoc-preamble"><h1 id="package-tiny_httpd"><a href="#package-tiny_httpd" class="anchor"></a>Package tiny_httpd <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Tiny_httpd/index.html"><code>Tiny_httpd</code></a> <span class="synopsis">Tiny Http Server</span></li><li><a href="Tiny_httpd_core/index.html"><code>Tiny_httpd_core</code></a> </li><li><a href="Tiny_httpd_html/index.html"><code>Tiny_httpd_html</code></a> <span class="synopsis">HTML combinators.</span></li><li><a href="Tiny_httpd_prometheus/index.html"><code>Tiny_httpd_prometheus</code></a> <span class="synopsis">Expose metrics over HTTP in the prometheus format.</span></li><li><a href="Tiny_httpd_unix/index.html"><code>Tiny_httpd_unix</code></a> </li><li><a href="Tiny_httpd_ws/index.html"><code>Tiny_httpd_ws</code></a> <span class="synopsis">Websockets for Tiny_httpd.</span></li></ul></header><nav class="odoc-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>index (tiny_httpd.index)</title><meta charset="utf-8"/><link rel="stylesheet" href="../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> tiny_httpd</nav><header class="odoc-preamble"><h1 id="package-tiny_httpd"><a href="#package-tiny_httpd" class="anchor"></a>Package tiny_httpd <nav><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">changes</a> <a href="#package_info">more…</a></nav></h1><ul class="modules"><li><a href="Tiny_httpd/index.html"><code>Tiny_httpd</code></a> <span class="synopsis">Tiny Http Server</span></li><li><a href="Tiny_httpd_core/index.html"><code>Tiny_httpd_core</code></a> </li><li><a href="Tiny_httpd_html/index.html"><code>Tiny_httpd_html</code></a> <span class="synopsis">HTML combinators.</span></li><li><a href="Tiny_httpd_multipart_form_data/index.html"><code>Tiny_httpd_multipart_form_data</code></a> <span class="synopsis">Streaming parser for multipart/form-data</span></li><li><a href="Tiny_httpd_prometheus/index.html"><code>Tiny_httpd_prometheus</code></a> <span class="synopsis">Expose metrics over HTTP in the prometheus format.</span></li><li><a href="Tiny_httpd_unix/index.html"><code>Tiny_httpd_unix</code></a> </li><li><a href="Tiny_httpd_ws/index.html"><code>Tiny_httpd_ws</code></a> <span class="synopsis">Websockets for Tiny_httpd.</span></li></ul></header><nav class="odoc-toc"><ul><li><a href="#package_info">Package info</a></li></ul></nav><div class="odoc-content"><h2 id="package_info"><a href="#package_info" class="anchor"></a>Package info</h2><table class="package info"><tr id="info-changes-files"><td><a href="#info-changes-files" aria-hidden="true" class="anchor"></a>changes-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/CHANGES.md">CHANGES.md</a></li></ul></td></tr><tr id="info-readme-files"><td><a href="#info-readme-files" aria-hidden="true" class="anchor"></a>readme-files</td><td><ul><li><a type="text/plain; charset=UTF-8" href="_doc-dir/README.md">README.md</a></li></ul></td></tr></table></div></body></html>