MCPcopy Create free account
hub / github.com/QNapi/qnapi / SyncHTTP

Class SyncHTTP

libqnapi/src/utils/synchttp.h:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25#include <QObject>
26
27class SyncHTTP : public QObject {
28 Q_OBJECT
29 public:
30 SyncHTTP();
31
32 QNetworkReply* syncGet(const QNetworkRequest& req);
33 QNetworkReply* syncPost(const QNetworkRequest& req, const QByteArray& data);
34
35 private:
36 QEventLoop loop;
37 QNetworkAccessManager manager;
38};
39
40#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected