#ifndef IOUTILS_HPP #define IOUTILS_HPP #include #include #include #include #include namespace ioutils { extern QNetworkAccessManager networkManager; void getJson(QUrl target, QList> headers, std::function callback); void postJson(QUrl target, QList> headers, QByteArray body, std::function callback); void getData(QUrl target, QList> headers, std::function callback); void postData(QUrl target, QList> headers, QByteArray body, std::function callback); } #endif // IOUTILS_HPP