sig/transcoder.rbs in httpx-0.10.0 vs sig/transcoder.rbs in httpx-0.10.1
- old
+ new
@@ -2,12 +2,14 @@
type bodyIO = _Reader | _Each[String, untyped] | _ToS
module Transcoder
extend HTTPX::Registry[String, Class]
+ def self.normalize_keys: (string | Symbol, top) { (string, top) -> void } -> void
+ | (string | Symbol, top) { (string) -> void } -> void
+
interface _Encoder
- def bytesize: () -> Integer
- def content_type: () -> String
+ def bytesize: () -> Numeric
end
interface _Decoder
def decode: (string) -> String
end