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.24.7 sig/transcoder/form.rbs
httpx-0.24.6 sig/transcoder/form.rbs
httpx-0.24.5 sig/transcoder/form.rbs
httpx-0.24.4 sig/transcoder/form.rbs
httpx-0.24.3 sig/transcoder/form.rbs
httpx-0.24.2 sig/transcoder/form.rbs
httpx-0.24.1 sig/transcoder/form.rbs
httpx-0.24.0 sig/transcoder/form.rbs
httpx-0.23.4 sig/transcoder/form.rbs
httpx-0.23.3 sig/transcoder/form.rbs
httpx-0.23.2 sig/transcoder/form.rbs
httpx-0.23.1 sig/transcoder/form.rbs
httpx-0.23.0 sig/transcoder/form.rbs
httpx-0.22.5 sig/transcoder/form.rbs
httpx-0.22.4 sig/transcoder/form.rbs
httpx-0.22.3 sig/transcoder/form.rbs
httpx-0.22.2 sig/transcoder/form.rbs
httpx-0.22.1 sig/transcoder/form.rbs
httpx-0.22.0 sig/transcoder/form.rbs
httpx-0.21.1 sig/transcoder/form.rbs