Albert
Loading...
Searching...
No Matches
networkutil.h File Reference
#include <albert/export.h>
Include dependency graph for networkutil.h:

Go to the source code of this file.

Namespaces

namespace  albert
 
namespace  albert::util
 

Functions

QNetworkAccessManager & albert::util::network ()
 Returns a global, threadlocal QNetworkAccessManager.
 
QNetworkReply * albert::util::await (QNetworkReply *reply)
 Blocks until reply is finished.
 
QNetworkRequest albert::util::makeRestRequest (const QString &base_url, const QString &path, const QUrlQuery &query, const QByteArray &authorization_header)