class

Fetcher::XMLStreamingParser

Inherits Reference < Object

Constants

XXE_CHECK_BUFFER_SIZE = 8192

Buffer size for XXE check (8KB)

Constructors

new(limit : Int32 = 100)
Source

Instance methods

parse(io : IO) : XMLStreamingIterator

Parse XML feed and return lazy iterator

Source
parse_complete(io : IO, limit : Int32 | Nil = nil, config : RequestConfig | Nil = nil) : Result

Parse XML feed completely and return Result with metadata

Source
parse_entries(io : IO, limit : Int32 | Nil = nil) : Array(Entry)

Parse XML feed and return array of entries

Source