Sha256: 63b73bb52a84b90ffb5fe296c015609efcdcf339e3ae051b72ebcf93ad2190c5

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

module HTTPX::Transcoder
  type form_value = string

  type form_nested_value = form_value | _ToAry[form_value] | _ToHash[string, form_value]

  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

      private

      def initialize: (urlencoded_input form) -> untyped
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
httpx-0.16.1 sig/transcoder/form.rbs
httpx-0.16.0 sig/transcoder/form.rbs