httpx/sig/transcoder/deflate.rbs
HoneyryderChuck 0d58408c58 compression plugins for gzip and deflate supported by default
most of the code was moved to the transcoder layer.

The `compression_threshold_size` option has been removed.

The `:compression/brotli` plugin becomes only ´:brotli`, and depends on
the new transcoding APIs.

options to skip compression and decompression were added.
2023-09-20 17:57:41 +01:00

12 lines
255 B
Plaintext

module HTTPX
module Transcoder
module Deflate
def self?.encode: (_Encoder body) -> Deflater
def self?.decode: (Response body, ?bytesize: Integer) -> GZIP::Inflater
class Deflater < Transcoder::Deflater
end
end
end
end