Sha256: 328d875e4012fcbd96e64dbb4b081f94a23ca772b292c6f91a219fc5f90c11b9

Contents?: true

Size: 555 Bytes

Versions: 45

Compression:

Stored size: 555 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
    def self?.decode: (HTTPX::Response response) -> _Decoder

    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

45 entries across 45 versions & 1 rubygems

Version Path
httpx-0.21.0 sig/transcoder/form.rbs
httpx-0.20.5 sig/transcoder/form.rbs
httpx-0.20.4 sig/transcoder/form.rbs
httpx-0.20.3 sig/transcoder/form.rbs
httpx-0.20.2 sig/transcoder/form.rbs
httpx-0.20.1 sig/transcoder/form.rbs
httpx-0.20.0 sig/transcoder/form.rbs
httpx-0.19.8 sig/transcoder/form.rbs
httpx-0.19.7 sig/transcoder/form.rbs
httpx-0.19.6 sig/transcoder/form.rbs
httpx-0.19.5 sig/transcoder/form.rbs
httpx-0.19.4 sig/transcoder/form.rbs
httpx-0.19.3 sig/transcoder/form.rbs
httpx-0.19.2 sig/transcoder/form.rbs
httpx-0.19.1 sig/transcoder/form.rbs
httpx-0.19.0 sig/transcoder/form.rbs
httpx-0.18.7 sig/transcoder/form.rbs
httpx-0.18.6 sig/transcoder/form.rbs
httpx-0.18.5 sig/transcoder/form.rbs
httpx-0.18.4 sig/transcoder/form.rbs