Albert
Loading...
Searching...
No Matches

Description

Network utility.

Classes

class  albert::Download
 Downloads a file from the given URL to the given path. More...
 
class  albert::OAuth2
 Provides OAuth2 authentication with support for the Authorization Code Flow with PKCE and refresh tokens. More...
 

Functions

QNetworkAccessManager & albert::network ()
 Returns a global, threadlocal QNetworkAccessManager.
 
QNetworkReply * albert::await (QNetworkReply *reply)
 Blocks until reply is finished.
 
QString albert::percentEncoded (const QString &string)
 Returns string percent encoded.
 
QString albert::percentDecoded (const QString &string)
 Returns string percent decoded.
 

Function Documentation

◆ await()

QNetworkReply * albert::await ( QNetworkReply *  reply)

Blocks until reply is finished.

◆ network()

QNetworkAccessManager & albert::network ( )

Returns a global, threadlocal QNetworkAccessManager.

◆ percentDecoded()

QString albert::percentDecoded ( const QString &  string)

Returns string percent decoded.

◆ percentEncoded()

QString albert::percentEncoded ( const QString &  string)

Returns string percent encoded.