-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
285 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/http-multipart-formdata/Http_multipart_formdata/Part/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Part (http-multipart-formdata.Http_multipart_formdata.Part)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> – <a href="../../index.html">http-multipart-formdata</a> » <a href="../index.html">Http_multipart_formdata</a> » Part</nav><h1>Module <code>Http_multipart_formdata.Part</code></h1><p>Represents a parsed multipart part. A part corresponds to a submitted form field data in a HTTP request.</p></header><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.body" class="anchored"><td class="def field"><a href="#type-t.body" class="anchor"></a><code>body : bytes;</code></td><td class="doc"><p>Body content</p></td></tr><tr id="type-t.name" class="anchored"><td class="def field"><a href="#type-t.name" class="anchor"></a><code>name : string;</code></td><td class="doc"><p>Name of the part - form field name</p></td></tr><tr id="type-t.content_type" class="anchored"><td class="def field"><a href="#type-t.content_type" class="anchor"></a><code>content_type : string;</code></td><td class="doc"><p>HTTP content type of the part <code>body</code>. "text/plain" is default</p></td></tr><tr id="type-t.filename" class="anchored"><td class="def field"><a href="#type-t.filename" class="anchor"></a><code>filename : <span>string option</span>;</code></td><td class="doc"><p><code>filename</code> form field attribute.</p></td></tr><tr id="type-t.parameters" class="anchored"><td class="def field"><a href="#type-t.parameters" class="anchor"></a><code>parameters : <span>string <a href="../index.html#module-Map">Map</a>.t</span>;</code></td><td class="doc"><p>Additional <code>key = value</code> params of the form field.</p></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : Stdlib.Format.formatter <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> unit</code></dt><dd><p><code>pp fmt part</code> is the pretty printer for <code>t</code>.</p></dd></dl><dl><dt class="spec value" id="val-equal"><a href="#val-equal" class="anchor"></a><code><span class="keyword">val</span> equal : <a href="index.html#type-t">t</a> <span>-></span> <a href="index.html#type-t">t</a> <span>-></span> bool</code></dt><dd><p><code>equal part1 part2</code> returns <code>true</code> if <code>part1</code> and <code>part2</code> are equal.</p></dd></dl></div></body></html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Part (http-multipart-formdata.Http_multipart_formdata.Part)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.0.0-beta2-97-gcb4f04e2"/><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">http-multipart-formdata</a> » <a href="../index.html">Http_multipart_formdata</a> » Part</nav><header class="odoc-preamble"><h1>Module <code><span>Http_multipart_formdata.Part</span></code></h1><p>Represents a parsed multipart part. A part corresponds to a submitted form field data in a HTTP request.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec type" id="type-t" class="anchored"><a href="#type-t" class="anchor"></a><code><span><span class="keyword">type</span> t</span><span> = </span><span>{</span></code><table><tr id="type-t.body" class="anchored"><td class="def record field"><a href="#type-t.body" class="anchor"></a><code><span>body : bytes;</span></code></td><td class="def-doc"><span class="comment-delim">(*</span><p>Body content</p><span class="comment-delim">*)</span></td></tr><tr id="type-t.name" class="anchored"><td class="def record field"><a href="#type-t.name" class="anchor"></a><code><span>name : string;</span></code></td><td class="def-doc"><span class="comment-delim">(*</span><p>Name of the part - form field name</p><span class="comment-delim">*)</span></td></tr><tr id="type-t.content_type" class="anchored"><td class="def record field"><a href="#type-t.content_type" class="anchor"></a><code><span>content_type : string;</span></code></td><td class="def-doc"><span class="comment-delim">(*</span><p>HTTP content type of the part <code>body</code>. "text/plain" is default</p><span class="comment-delim">*)</span></td></tr><tr id="type-t.filename" class="anchored"><td class="def record field"><a href="#type-t.filename" class="anchor"></a><code><span>filename : <span>string option</span>;</span></code></td><td class="def-doc"><span class="comment-delim">(*</span><p><code>filename</code> form field attribute.</p><span class="comment-delim">*)</span></td></tr><tr id="type-t.parameters" class="anchored"><td class="def record field"><a href="#type-t.parameters" class="anchor"></a><code><span>parameters : <span>string <span class="xref-unresolved">Map</span>.t</span>;</span></code></td><td class="def-doc"><span class="comment-delim">(*</span><p>Additional <code>key = value</code> params of the form field.</p><span class="comment-delim">*)</span></td></tr></table><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value" id="val-pp" class="anchored"><a href="#val-pp" class="anchor"></a><code><span><span class="keyword">val</span> pp : <span><span class="xref-unresolved">Stdlib</span>.Format.formatter <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> unit</span></code></div><div class="spec-doc"><p><code>pp fmt part</code> is the pretty printer for <code>t</code>.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-equal" class="anchored"><a href="#val-equal" class="anchor"></a><code><span><span class="keyword">val</span> equal : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><a href="#type-t">t</a> <span class="arrow">-></span></span> bool</span></code></div><div class="spec-doc"><p><code>equal part1 part2</code> returns <code>true</code> if <code>part1</code> and <code>part2</code> are equal.</p></div></div></div></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.