mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-17 00:01:31 -05:00
30 lines
641 B
Plaintext
30 lines
641 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module Compression
|
|
module GZIP
|
|
def self.load_dependencies: (singleton(Session)) -> void
|
|
def self.configure: (singleton(Session)) -> void
|
|
|
|
def self?.deflater: () -> _Deflater
|
|
def self?.inflater: (Integer | Float bytesize) -> Inflater
|
|
|
|
class Deflater
|
|
include _Deflater
|
|
|
|
@compressed_chunk: String
|
|
|
|
private
|
|
|
|
def initialize: () -> untyped
|
|
def write: (string) -> void
|
|
def compressed_chunk: () -> String
|
|
end
|
|
|
|
class Inflater
|
|
include _Inflater
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|