The Mongrel2
XML Request class. Instances of this class represent a request for an XML route from a Mongrel2
server.
The parsed request data (a LibXML::Reader object)
Parse the body as JSON.
# File lib/mongrel2/xmlrequest.rb, line 22
def initialize( sender_id, conn_id, path, headers, body, raw=nil )
super
self.log.debug "Parsing XML request body"
@reader = LibXML::XML::Reader.string( body )
end