4#include <albert/export.h>
7class QNetworkAccessManager;
19ALBERT_EXPORT QNetworkAccessManager &
network();
24ALBERT_EXPORT QNetworkReply *
await(QNetworkReply *reply);
54 std::unique_ptr<Private> d;
Blocks execution.
Definition networkutil.h:42
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
QString percentDecoded(const QString &string)
Returns string percent decoded.
QNetworkAccessManager & network()
Returns a global, threadlocal QNetworkAccessManager.
QString percentEncoded(const QString &string)
Returns string percent encoded.
QNetworkReply * await(QNetworkReply *reply)
Blocks until reply is finished.