HoneyryderChuck d501840669 registering the supported encodings of the compression plugin per
session

In order not to leak these into other sessions, one keeps a registry
around as a session option. This will cascade into the request and
response encoding routines.
2021-03-05 19:04:09 +00:00

18 lines
398 B
Plaintext

module HTTPX
module Plugins
module Compression
module Deflate
def self.load_dependencies: (singleton(Session)) -> void
def self.configure: (singleton(Session)) -> void
def self?.deflater: () -> _Deflater
def self?.inflater: (Numeric bytesize) -> GZIP::Inflater
module Deflater
extend _Deflater
end
end
end
end
end