Sha256: 95160fa751ba8167c6d93c76d33eb822516430051f579cb3629daec5211743bf

Contents?: true

Size: 401 Bytes

Versions: 8

Compression:

Stored size: 401 Bytes

Contents

module HTTPX::Transcoder
  module XML

    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

8 entries across 8 versions & 1 rubygems

Version Path
httpx-0.22.5 sig/transcoder/xml.rbs
httpx-0.22.4 sig/transcoder/xml.rbs
httpx-0.22.3 sig/transcoder/xml.rbs
httpx-0.22.2 sig/transcoder/xml.rbs
httpx-0.22.1 sig/transcoder/xml.rbs
httpx-0.22.0 sig/transcoder/xml.rbs
httpx-0.21.1 sig/transcoder/xml.rbs
httpx-0.21.0 sig/transcoder/xml.rbs