Sha256: 72e8a28a4ced8f458b61dc39652427086e6c71b83556a811630e175b080b3745

Contents?: true

Size: 721 Bytes

Versions: 20

Compression:

Stored size: 721 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 | Multipart::multipart_nested_value]]

  module Form
    def self?.encode: (urlencoded_input form) -> (Encoder | Multipart::Encoder)
    def self?.decode: (HTTPX::Response response) -> _Decoder
    def self?.multipart?: (form_nested_value | Multipart::multipart_nested_value data) -> bool

    class Encoder
      extend Forwardable
      include _ToS

      def bytesize: () -> Integer

      def content_type: () -> String

      private

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/transcoder/form.rbs
httpx-1.3.3 sig/transcoder/form.rbs
httpx-1.3.2 sig/transcoder/form.rbs
httpx-1.3.1 sig/transcoder/form.rbs
httpx-1.3.0 sig/transcoder/form.rbs
httpx-1.2.6 sig/transcoder/form.rbs
httpx-1.2.4 sig/transcoder/form.rbs
httpx-1.2.3 sig/transcoder/form.rbs
httpx-1.2.2 sig/transcoder/form.rbs
httpx-1.2.1 sig/transcoder/form.rbs
httpx-1.2.0 sig/transcoder/form.rbs
httpx-1.1.5 sig/transcoder/form.rbs
httpx-1.1.4 sig/transcoder/form.rbs
httpx-1.1.3 sig/transcoder/form.rbs
httpx-1.1.2 sig/transcoder/form.rbs
httpx-1.1.1 sig/transcoder/form.rbs
httpx-1.1.0 sig/transcoder/form.rbs
httpx-1.0.2 sig/transcoder/form.rbs
httpx-1.0.1 sig/transcoder/form.rbs
httpx-1.0.0 sig/transcoder/form.rbs