4 class QNetworkAccessManager;
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};
The THttpClient class can send HTTP requests to another server and receive replies.
Definition: thttpclient.h:10
QNetworkAccessManager * manager()
Definition: thttpclient.h:24
#define T_CORE_EXPORT
Definition: tdeclexport.h:28