sig/plugins/compression.rbs in httpx-0.13.2 vs sig/plugins/compression.rbs in httpx-0.14.0

- old
+ new

@@ -4,11 +4,11 @@ type encodings_registry = Registry[Symbol, Class] type deflatable = _Reader | _ToS interface _Deflater - def deflate: (deflatable, _Writer, chunk_size: Integer) -> void - | (deflatable, _Writer, chunk_size: Integer) { (String) -> void } -> void + def deflate: (deflatable, ?_Writer, ?chunk_size: Integer) -> _ToS + | (deflatable, ?_Writer, ?chunk_size: Integer) { (String) -> void } -> _ToS end interface _Inflater def inflate: (string) -> String