Unity Scopes API
|
Class that downloads http XML files synchronously. More...
#include <unity/scopes/qt/XmlReader.h>
Public Member Functions | |
QXmlStreamReaderSptr | read (QUrl const &uri) const |
Downloads a remote XML document and returns a parser containing the data. More... | |
QXmlStreamReaderSptr | read (QString const &host, QXmlStreamReaderParameters const ¶meters) const |
Downloads a remote XML document and returns a parser containing the data. More... | |
Class that downloads http XML files synchronously.
Executes a remote HTTP query synchronously to return a XML parser filled with the downloaded data.
QXmlStreamReaderSptr unity::scopes::qt::XmlReader::read | ( | QUrl const & | uri | ) | const |
Downloads a remote XML document and returns a parser containing the data.
uri | URI to download |
QXmlStreamReaderSptr unity::scopes::qt::XmlReader::read | ( | QString const & | host, |
QXmlStreamReaderParameters const & | parameters | ||
) | const |
Downloads a remote XML document and returns a parser containing the data.
host | the remote host name |
parameters | The parameters that will build the final query, defined by a list of pairs of key and value |