Sha256: d79b0f9dac6e4dd24b7c487db626e82a78567fe2e1454fd7292527244347ac6d

Contents?: true

Size: 401 Bytes

Versions: 27

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

27 entries across 27 versions & 1 rubygems

Version Path
httpx-0.24.1 sig/transcoder/xml.rbs
httpx-0.24.0 sig/transcoder/xml.rbs
httpx-0.23.4 sig/transcoder/xml.rbs
httpx-0.23.3 sig/transcoder/xml.rbs
httpx-0.23.2 sig/transcoder/xml.rbs
httpx-0.23.1 sig/transcoder/xml.rbs
httpx-0.23.0 sig/transcoder/xml.rbs