mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 03:05:29 -05:00
2 lines
No EOL
1.2 KiB
HTML
2 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Tiny_httpd_camlzip (tiny_httpd_camlzip.Tiny_httpd_camlzip)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><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">tiny_httpd_camlzip</a> » Tiny_httpd_camlzip</nav><h1>Module <code>Tiny_httpd_camlzip</code></h1></header><dl><dt class="spec value" id="val-setup"><a href="#val-setup" class="anchor"></a><code><span class="keyword">val</span> setup : ?⁠compress_above:int <span>-></span> ?⁠buf_size:int <span>-></span> <a href="../../tiny_httpd/Tiny_httpd/index.html#type-t">Tiny_httpd.t</a> <span>-></span> unit</code></dt><dd><p>Install callbacks for tiny_httpd to be able to encode/decode compressed streams</p><dl><dt>parameter compress_above</dt><dd><p>threshold above with string responses are compressed</p></dd></dl><dl><dt>parameter buf_size</dt><dd><p>size of the underlying buffer for compression/decompression</p></dd></dl></dd></dl></div></body></html> |