sig/transcoder/form.rbs in httpx-0.15.4 vs sig/transcoder/form.rbs in httpx-0.16.0
- old
+ new
@@ -1,15 +1,16 @@
module HTTPX::Transcoder
type form_value = string
type form_nested_value = form_value | _ToAry[form_value] | _ToHash[string, form_value]
- type urlencoded_input = Enumerable[[string, form_nested_value], untyped]
+ type urlencoded_input = Enumerable[[_ToS, form_nested_value]]
module Form
def self?.encode: (urlencoded_input form) -> Encoder
class Encoder
+ extend Forwardable
include _Encoder
include _ToS
def content_type: () -> String