libQuotient
A Qt library for building matrix clients
Quotient::NetworkAccessManager Class Reference

#include <networkaccessmanager.h>

Inheritance diagram for Quotient::NetworkAccessManager:
Collaboration diagram for Quotient::NetworkAccessManager:

Static Public Member Functions

static void addAccount (const QString &accountId, const QUrl &homeserver, const QByteArray &accessToken={})
 
static void updateAccountSpecVersions (QStringView accountId, const QStringList &versions)
 
static void dropAccount (QStringView accountId)
 
static QList< QSslError > ignoredSslErrors ()
 
static void addIgnoredSslError (const QSslError &error)
 
static void clearIgnoredSslErrors ()
 
static void setAccessToken (const QString &userId, const QByteArray &token)
 
static NetworkAccessManagerinstance ()
 Get a NAM instance for the current thread. More...
 

Detailed Description

Definition at line 12 of file networkaccessmanager.h.

Member Function Documentation

◆ addAccount()

static void Quotient::NetworkAccessManager::addAccount ( const QString &  accountId,
const QUrl &  homeserver,
const QByteArray &  accessToken = {} 
)
static

◆ addIgnoredSslError()

static void Quotient::NetworkAccessManager::addIgnoredSslError ( const QSslError &  error)
static

◆ clearIgnoredSslErrors()

static void Quotient::NetworkAccessManager::clearIgnoredSslErrors ( )
static

◆ dropAccount()

static void Quotient::NetworkAccessManager::dropAccount ( QStringView  accountId)
static

◆ ignoredSslErrors()

static QList<QSslError> Quotient::NetworkAccessManager::ignoredSslErrors ( )
static

◆ instance()

static NetworkAccessManager* Quotient::NetworkAccessManager::instance ( )
static

Get a NAM instance for the current thread.

◆ setAccessToken()

static void Quotient::NetworkAccessManager::setAccessToken ( const QString &  userId,
const QByteArray &  token 
)
static

◆ updateAccountSpecVersions()

static void Quotient::NetworkAccessManager::updateAccountSpecVersions ( QStringView  accountId,
const QStringList versions 
)
static

The documentation for this class was generated from the following file: