mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-08 04:05:35 -05:00
8 lines
328 B
OCaml
8 lines
328 B
OCaml
|
|
val setup :
|
|
?compress_above:int ->
|
|
?buf_size:int -> Tiny_httpd.t -> unit
|
|
(** Install callbacks for tiny_httpd to be able to encode/decode
|
|
compressed streams
|
|
@param compress_above threshold above with string responses are compressed
|
|
@param buf_size size of the underlying buffer for compression/decompression *)
|