package tiny_httpd_camlzip

  1. Overview
  2. Docs
Interface to camlzip for tiny_httpd

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.9.tar.gz
md5=8b2e4eaceabed877baedb6be01b3666b
sha512=6851341aaa03e1bdf37807e24a831d935532fd8e36129e240eaf1b52b0dd5aafbbff5d70ef92785ee2108c3e816d842fb73e6ad55657a3833e38246925aeaec0

doc/tiny_httpd_camlzip/Tiny_httpd_camlzip/index.html

Module Tiny_httpd_camlzipSource

Sourceval setup : ?compress_above:int -> ?buf_size:int -> Tiny_httpd.t -> unit

Install callbacks for tiny_httpd to be able to encode/decode compressed streams

  • parameter compress_above

    threshold above with string responses are compressed

  • parameter buf_size

    size of the underlying buffer for compression/decompression