Module Tapak_compressions

module Brotli : sig ... end
module Bytesrw_brotli : sig ... end
module Predicate : sig ... end

Predicates for deciding whether to compress HTTP responses.

type compressor = Bytesrw.Bytes.Writer.filter
type decompressor = Bytesrw.Bytes.Reader.filter
val decoder : [< `Br | `Deflate | `Gzip | `Identity | `Other of string & 'a | `Star | `Zstd ] -> decompressor option
val encoder : [< `Br | `Deflate | `Gzip | `Identity | `Other of string & 'a | `Star | `Zstd ] -> compressor option