-
Notifications
You must be signed in to change notification settings - Fork 176
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
218 changed files
with
331 additions
and
323 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
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,9 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Body (cohttp-async.Cohttp_async.Body)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/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">cohttp-async</a> » <a href="../index.html">Cohttp_async</a> » Body</nav><header class="odoc-preamble"><h1>Module <code><span>Cohttp_async.Body</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.Cohttp.Body.t" class="def variant type anchored"><a href="#type-t.Cohttp.Body.t" class="anchor"></a><code><span>| </span><span><a href="../../../cohttp/Cohttp/Body/index.html#type-t">Cohttp.Body.t</a></span></code></li><li id="type-t.Pipe" class="def variant constructor anchored"><a href="#type-t.Pipe" class="anchor"></a><code><span>| </span><span>`Pipe <span class="keyword">of</span> <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span></span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_t"><a href="#val-sexp_of_t" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_t : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../cohttp/Cohttp/S/module-type-Body/index.html">Cohttp.S.Body</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../cohttp/Cohttp/S/module-type-Body/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span><span class="keyword">val</span> empty : <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_string"><a href="#val-of_string" class="anchor"></a><code><span><span class="keyword">val</span> of_string : <span>string <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_string_list"><a href="#val-of_string_list" class="anchor"></a><code><span><span class="keyword">val</span> of_string_list : <span><span>string list</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_form"><a href="#val-of_form" class="anchor"></a><code><span><span class="keyword">val</span> of_form : <span><span class="optlabel">?scheme</span>:string <span class="arrow">-></span></span> <span><span><span>(string * <span>string list</span>)</span> list</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transfer_encoding"><a href="#val-transfer_encoding" class="anchor"></a><code><span><span class="keyword">val</span> transfer_encoding : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="../../../cohttp/Cohttp/Transfer/index.html#type-encoding">Cohttp.Transfer.encoding</a></span></code></div></div></details></div><div class="odoc-spec"><div class="spec value anchored" id="val-drain"><a href="#val-drain" class="anchor"></a><code><span><span class="keyword">val</span> drain : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="xref-unresolved">Base</span>.unit <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span><span class="keyword">val</span> is_empty : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="xref-unresolved">Base</span>.bool <span class="xref-unresolved">Async_kernel</span>.Deferred.t</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">-></span></span> <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_string_list"><a href="#val-to_string_list" class="anchor"></a><code><span><span class="keyword">val</span> to_string_list : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Base</span>.list</span> <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_pipe"><a href="#val-to_pipe" class="anchor"></a><code><span><span class="keyword">val</span> to_pipe : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_pipe"><a href="#val-of_pipe" class="anchor"></a><code><span><span class="keyword">val</span> of_pipe : <span><span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-map"><a href="#val-map" class="anchor"></a><code><span><span class="keyword">val</span> map : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="label">f</span>:<span>(<span><span class="xref-unresolved">Base</span>.string <span class="arrow">-></span></span> <span class="xref-unresolved">Base</span>.string)</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-as_pipe"><a href="#val-as_pipe" class="anchor"></a><code><span><span class="keyword">val</span> as_pipe : | ||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Body (cohttp-async.Cohttp_async.Body)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../odoc.support/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">cohttp-async</a> » <a href="../index.html">Cohttp_async</a> » Body</nav><header class="odoc-preamble"><h1>Module <code><span>Cohttp_async.Body</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.Cohttp.Body.t" class="def variant type anchored"><a href="#type-t.Cohttp.Body.t" class="anchor"></a><code><span>| </span><span><a href="../../../cohttp/Cohttp/Body/index.html#type-t">Cohttp.Body.t</a></span></code></li><li id="type-t.Pipe" class="def variant constructor anchored"><a href="#type-t.Pipe" class="anchor"></a><code><span>| </span><span>`Pipe <span class="keyword">of</span> <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span></span></code></li></ol><code><span> ]</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-sexp_of_t"><a href="#val-sexp_of_t" class="anchor"></a><code><span><span class="keyword">val</span> sexp_of_t : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span class="xref-unresolved">Sexplib0</span>.Sexp.t</span></code></div></div><div class="odoc-include"><details open="open"><summary class="spec include"><code><span><span class="keyword">include</span> <a href="../../../cohttp/Cohttp/S/module-type-Body/index.html">Cohttp.S.Body</a> <span class="keyword">with</span> <span><span class="keyword">type</span> <a href="../../../cohttp/Cohttp/S/module-type-Body/index.html#type-t">t</a> := <a href="#type-t">t</a></span></span></code></summary><div class="odoc-spec"><div class="spec value anchored" id="val-empty"><a href="#val-empty" class="anchor"></a><code><span><span class="keyword">val</span> empty : <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_string"><a href="#val-of_string" class="anchor"></a><code><span><span class="keyword">val</span> of_string : <span>string <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_string_list"><a href="#val-of_string_list" class="anchor"></a><code><span><span class="keyword">val</span> of_string_list : <span><span>string list</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_form"><a href="#val-of_form" class="anchor"></a><code><span><span class="keyword">val</span> of_form : <span><span class="optlabel">?scheme</span>:string <span class="arrow">-></span></span> <span><span><span>(string * <span>string list</span>)</span> list</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-transfer_encoding"><a href="#val-transfer_encoding" class="anchor"></a><code><span><span class="keyword">val</span> transfer_encoding : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <a href="../../../cohttp/Cohttp/Transfer/index.html#type-encoding">Cohttp.Transfer.encoding</a></span></code></div></div></details></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">-></span></span> <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_string_list"><a href="#val-to_string_list" class="anchor"></a><code><span><span class="keyword">val</span> to_string_list : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Base</span>.list</span> <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_pipe"><a href="#val-to_pipe" class="anchor"></a><code><span><span class="keyword">val</span> to_pipe : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-of_pipe"><a href="#val-of_pipe" class="anchor"></a><code><span><span class="keyword">val</span> of_pipe : <span><span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-map"><a href="#val-map" class="anchor"></a><code><span><span class="keyword">val</span> map : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span><span class="label">f</span>:<span>(<span><span class="xref-unresolved">Base</span>.string <span class="arrow">-></span></span> <span class="xref-unresolved">Base</span>.string)</span> <span class="arrow">-></span></span> <a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-as_pipe"><a href="#val-as_pipe" class="anchor"></a><code><span><span class="keyword">val</span> as_pipe : | ||
<span><a href="#type-t">t</a> <span class="arrow">-></span></span> | ||
<span><span class="label">f</span>: | ||
<span>(<span><span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span> <span class="arrow">-></span></span> | ||
<span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Async_kernel</span>.Pipe.Reader.t</span>)</span> <span class="arrow">-></span></span> | ||
<a href="#type-t">t</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_form"><a href="#val-to_form" class="anchor"></a><code><span><span class="keyword">val</span> to_form : | ||
<span><a href="#type-t">t</a> <span class="arrow">-></span></span> | ||
<span><span><span>(<span class="xref-unresolved">Base</span>.string * <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Base</span>.list</span>)</span> <span class="xref-unresolved">Base</span>.list</span> <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></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></div></body></html> | ||
<span><span><span>(<span class="xref-unresolved">Base</span>.string * <span><span class="xref-unresolved">Base</span>.string <span class="xref-unresolved">Base</span>.list</span>)</span> <span class="xref-unresolved">Base</span>.list</span> <span class="xref-unresolved">Async_kernel</span>.Deferred.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_empty"><a href="#val-is_empty" class="anchor"></a><code><span><span class="keyword">val</span> is_empty : <span><a href="#type-t">t</a> <span class="arrow">-></span></span> <span>[ `True <span>| `False</span> <span>| `Unknown</span> ]</span></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></div></body></html> |
Oops, something went wrong.