sig/plugins/compression.rbs in httpx-0.15.4 vs sig/plugins/compression.rbs in httpx-0.16.0
- old
+ new
@@ -13,26 +13,24 @@
interface _Inflater
def inflate: (string) -> String
def initialize: (Numeric bytesize) -> untyped
end
-
+
def self.configure: (singleton(Session)) -> void
interface _CompressionOptions
- def compression_threshold_size: () -> _Integer?
- def compression_threshold_size=: (int) -> int
+ def compression_threshold_size: () -> Integer?
def encodings: () -> encodings_registry?
- def encodings=: (encodings_registry) -> encodings_registry
end
-
+
def self.extra_options: (Options) -> (Options & _CompressionOptions)
module ResponseBodyMethods
@encodings: Array[String]
- @_deflaters: Array[_Decoder]
+ @_deflaters: Array[_Deflater]
private
def decompress: (string) -> String
end