15 QNetworkReply *get(
const QUrl &url,
int msecs = 5000);
16 QNetworkReply *get(
const QNetworkRequest &request,
int msecs = 5000);
17 QNetworkReply *post(
const QUrl &url,
const QJsonDocument &json,
int msecs = 5000);
18 QNetworkReply *post(
const QNetworkRequest &request,
const QByteArray &data,
int msecs = 5000);
19 QNetworkReply *put(
const QUrl &url,
const QJsonDocument &json,
int msecs = 5000);
20 QNetworkReply *put(
const QNetworkRequest &request,
const QByteArray &data,
int msecs = 5000);
21 QNetworkReply *deleteResource(
const QUrl &url,
int msecs = 5000);
22 QNetworkReply *deleteResource(
const QNetworkRequest &request,
int msecs = 5000);
24 QNetworkAccessManager *
manager() {
return _manager; }
27 QNetworkAccessManager *_manager {
nullptr};