mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-07 00:05:02 -04:00
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.
30 lines
653 B
Plaintext
30 lines
653 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: (Numeric 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
|