19 #ifndef QGSNETWORKREPLYPARSER_H 20 #define QGSNETWORKREPLYPARSER_H 22 #include <QNetworkReply> 51 int parts()
const {
return mHeaders.size(); }
QByteArray rawHeader(int part, const QByteArray &headerName) const
Get part header.
int parts() const
Get number of parts.
QList< RawHeaderMap > headers() const
Get headers.
QMap< QByteArray, QByteArray > RawHeaderMap
QByteArray body(int part) const
Get part part body.
bool isValid() const
Indicates if successfully parsed.
QString error() const
Parsing error.
Multipart QNetworkReply parser.
QList< QByteArray > bodies() const
Get bodies.