| QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
    | 
Utility class to redirect GDAL's CPL HTTP calls through QgsBlockingNetworkRequest. More...
#include <qgscplhttpfetchoverrider.h>
| Public Member Functions | |
| QgsCPLHTTPFetchOverrider (const QString &authCfg=QString(), QgsFeedback *feedback=nullptr) | |
| Installs the redirection for the current thread.  More... | |
| ~QgsCPLHTTPFetchOverrider () | |
| Destructor.  More... | |
| void | setAttribute (QNetworkRequest::Attribute code, const QVariant &value) | 
| Define attribute that must be forwarded to the actual QNetworkRequest.  More... | |
Utility class to redirect GDAL's CPL HTTP calls through QgsBlockingNetworkRequest.
The implementation is a no-op before GDAL 3.2
Definition at line 44 of file qgscplhttpfetchoverrider.h.
| 
 | explicit | 
Installs the redirection for the current thread.
Definition at line 23 of file qgscplhttpfetchoverrider.cpp.
| QgsCPLHTTPFetchOverrider::~QgsCPLHTTPFetchOverrider | ( | ) | 
Destructor.
Definition at line 30 of file qgscplhttpfetchoverrider.cpp.
| void QgsCPLHTTPFetchOverrider::setAttribute | ( | QNetworkRequest::Attribute | code, | 
| const QVariant & | value | ||
| ) | 
Define attribute that must be forwarded to the actual QNetworkRequest.
Definition at line 187 of file qgscplhttpfetchoverrider.cpp.