QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
Classes | Macros | Variables
qgsnetworkaccessmanager.h File Reference
#include <QList>
#include "qgsnetworkreply.h"
#include "qgis_sip.h"
#include <QStringList>
#include <QNetworkAccessManager>
#include <QNetworkCookie>
#include <QNetworkCookieJar>
#include <QNetworkProxy>
#include <QNetworkRequest>
#include <QMutex>
#include <QWaitCondition>
#include <QSemaphore>
#include <memory>
#include "qgis_core.h"
#include "qgsconfig.h"
Include dependency graph for qgsnetworkaccessmanager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsNetworkAccessManager
 network access manager for QGIS More...
 
class  QgsNetworkAuthenticationHandler
 Network authentication handler, used for responding to network authentication requests during network requests. More...
 
class  QgsNetworkRequestParameters
 Encapsulates parameters and properties of a network request. More...
 
class  QgsSslErrorHandler
 SSL error handler, used for responding to SSL errors encountered during network requests. More...
 

Macros

#define QgsSetRequestInitiatorClass(request, _class)   request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorClass ), _class ); request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), QString(QString( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + ")") );
 
#define QgsSetRequestInitiatorId(request, str)   request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), QString(QString( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + "): " + str) );
 

Variables

constexpr int sFilePrefixLength = CMAKE_SOURCE_DIR[sizeof( CMAKE_SOURCE_DIR ) - 1] == '/' ? sizeof( CMAKE_SOURCE_DIR ) + 1 : sizeof( CMAKE_SOURCE_DIR )
 

Macro Definition Documentation

◆ QgsSetRequestInitiatorClass

#define QgsSetRequestInitiatorClass (   request,
  _class 
)    request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorClass ), _class ); request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), QString(QString( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + ")") );

Definition at line 45 of file qgsnetworkaccessmanager.h.

◆ QgsSetRequestInitiatorId

#define QgsSetRequestInitiatorId (   request,
  str 
)    request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), QString(QString( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + "): " + str) );

Definition at line 46 of file qgsnetworkaccessmanager.h.

Variable Documentation

◆ sFilePrefixLength

constexpr int sFilePrefixLength = CMAKE_SOURCE_DIR[sizeof( CMAKE_SOURCE_DIR ) - 1] == '/' ? sizeof( CMAKE_SOURCE_DIR ) + 1 : sizeof( CMAKE_SOURCE_DIR )
constexpr

Definition at line 43 of file qgsnetworkaccessmanager.h.