httpx/sig/transcoder/xml.rbs

22 lines
401 B
Plaintext

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