QGIS API Documentation
3.8.0-Zanzibar (11aff65)
|
#include <QList>
#include "qgsnetworkreply.h"
#include "qgis_sip.h"
#include <QStringList>
#include <QNetworkAccessManager>
#include <QNetworkProxy>
#include <QNetworkRequest>
#include <QMutex>
#include <QWaitCondition>
#include <memory>
#include "qgis_core.h"
#include "qgsconfig.h"
Go to the source code of this file.
Classes | |
class | QgsNetworkAccessManager |
network access manager for QGISThis class implements the QGIS network access manager. 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( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + ")" ); |
#define | QgsSetRequestInitiatorId(request, str) request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), 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 ) |
#define QgsSetRequestInitiatorClass | ( | request, | |
_class | |||
) | request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorClass ), _class ); request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), QString( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + ")" ); |
Definition at line 41 of file qgsnetworkaccessmanager.h.
#define QgsSetRequestInitiatorId | ( | request, | |
str | |||
) | request.setAttribute( static_cast< QNetworkRequest::Attribute >( QgsNetworkRequestParameters::AttributeInitiatorRequestId ), QString( __FILE__ ).mid( sFilePrefixLength ) + ':' + QString::number( __LINE__ ) + " (" + __FUNCTION__ + "): " + str ); |
Definition at line 42 of file qgsnetworkaccessmanager.h.
constexpr int sFilePrefixLength = CMAKE_SOURCE_DIR[sizeof( CMAKE_SOURCE_DIR ) - 1] == '/' ? sizeof( CMAKE_SOURCE_DIR ) + 1 : sizeof( CMAKE_SOURCE_DIR ) |
Definition at line 39 of file qgsnetworkaccessmanager.h.