httpx/sig/transcoder/form.rbs
2021-01-13 12:27:13 +00:00

23 lines
480 B
Plaintext

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]
module Form
def self?.encode: (urlencoded_input form) -> Encoder
class Encoder
include _Encoder
include _ToS
def content_type: () -> String
private
def initialize: (urlencoded_input form) -> untyped
end
end
end