Sha256: 000b61b8b3d4ac4842beff07add135852baf5bfb974832418fe62edad16d825e

Contents?: true

Size: 424 Bytes

Versions: 6

Compression:

Stored size: 424 Bytes

Contents

module HTTPX::Transcoder
  module Xml
    MIME_TYPES: Regexp

    def self?.encode: (untyped xml) -> Encoder
    def self?.decode: (HTTPX::Response response) -> _Decoder

    class Encoder
      @raw: untyped # can be nokogiri object

      def content_type: () -> String

      def bytesize: () -> (Integer | Float)

      def to_s: () -> String

      private

      def initialize: (String xml) -> void
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
httpx-1.3.4 sig/transcoder/xml.rbs
httpx-1.3.3 sig/transcoder/xml.rbs
httpx-1.3.2 sig/transcoder/xml.rbs
httpx-1.3.1 sig/transcoder/xml.rbs
httpx-1.3.0 sig/transcoder/xml.rbs
httpx-1.2.6 sig/transcoder/xml.rbs