mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
19 lines
461 B
Plaintext
19 lines
461 B
Plaintext
module HTTPX
|
|
type bodyIO = _Reader | _Each[String, untyped] | _ToS
|
|
|
|
module Transcoder
|
|
extend HTTPX::Registry[String, Class]
|
|
|
|
def self.normalize_keys: (string | Symbol, top, ?Proc?) { (string, top) -> void } -> void
|
|
| (string | Symbol, top, ?Proc?) { (string) -> void } -> void
|
|
|
|
interface _Encoder
|
|
def bytesize: () -> Numeric
|
|
end
|
|
|
|
interface _Decoder
|
|
def decode: (string) -> String
|
|
end
|
|
end
|
|
end
|