4#include <albert/export.h>
7class QNetworkAccessManager;
19ALBERT_EXPORT QNetworkAccessManager &
network();
24ALBERT_EXPORT QNetworkReply *
await(QNetworkReply *reply);
44 std::unique_ptr<Private> d;
Blocks execution.
Definition networkutil.h:32
RateLimiter(unsigned int ms)
const bool & debounce(const bool &valid)
Blocks until the next request is allowed.
Albert private namespace.
Definition albert.h:17
Albert utility namespace.
Definition albert.h:14
QNetworkAccessManager & network()
Returns a global, threadlocal QNetworkAccessManager.
QNetworkReply * await(QNetworkReply *reply)
Blocks until reply is finished.