19#ifndef HEADER_XML_REQUEST_HPP
20#define HEADER_XML_REQUEST_HPP
22#include "online/http_request.hpp"
23#include "utils/cpp2011.hpp"
24#include "utils/synchronised.hpp"
77 const irr::core::stringw &
getInfo()
const
A http request.
Definition: http_request.hpp:56
bool hasBeenExecuted() const
Checks if the request has completed or done (i.e.
Definition: request.hpp:201
A http request expecting a xml return value.
Definition: xml_request.hpp:40
XMLNode * m_xml_data
On a successful download contains the converted XML tree.
Definition: xml_request.hpp:43
bool isSuccess() const
Returns whether the request was successfully executed on the server.
Definition: xml_request.hpp:87
const irr::core::stringw & getInfo() const
Returns the additional information (or error message) contained in a finished request.
Definition: xml_request.hpp:77
irr::core::stringw m_info
Additional info contained the downloaded data (or an error message if a problem occurred).
Definition: xml_request.hpp:49
virtual void afterOperation() OVERRIDE
On a successful download converts the string into an XML tree.
Definition: xml_request.cpp:58
const XMLNode * getXMLData() const
Get the downloaded XML tree.
Definition: xml_request.hpp:65
bool m_success
True if the request was successful executed on the server.
Definition: xml_request.hpp:52
utility class used to parse XML files
Definition: xml_node.hpp:48