#include <FxNetworkAccessManager.h>
Description: Represents a CFx class for network communications via HTTP. This class will cover issues with proxy servers. Library: DDKERNEL
Definition at line 57 of file FxNetworkAccessManager.h.
◆ ParametersList
◆ CFxNetworkAccessManager()
CFxNetworkAccessManager::CFxNetworkAccessManager |
( |
| ) |
|
◆ ~CFxNetworkAccessManager()
virtual CFxNetworkAccessManager::~CFxNetworkAccessManager |
( |
| ) |
|
|
virtual |
◆ connectToProxyUpdated()
virtual QMetaObject::Connection CFxNetworkAccessManager::connectToProxyUpdated |
( |
std::function< void(QNetworkProxy)> |
slot | ) |
|
|
pure virtual |
◆ findProxyServer()
virtual bool CFxNetworkAccessManager::findProxyServer |
( |
| ) |
|
|
pure virtual |
Description: Checks if some proxy server details can be found. After updating proxy server a sample request is done to get authentification details if needed. This call is blocking.
◆ get()
virtual QNetworkReply * CFxNetworkAccessManager::get |
( |
const AccessData & |
data | ) |
|
|
pure virtual |
Description: Sends the get request using the access data.
◆ post()
virtual QNetworkReply * CFxNetworkAccessManager::post |
( |
const AccessData & |
data | ) |
|
|
pure virtual |
Description: Sends the post request using the access data.
◆ proxy()
virtual QNetworkProxy CFxNetworkAccessManager::proxy |
( |
| ) |
|
|
pure virtual |
Description: Returns the proxy object containing proxy server setting.
◆ setProxy()
virtual void CFxNetworkAccessManager::setProxy |
( |
const QNetworkProxy & |
proxy | ) |
|
|
pure virtual |
Description: Sets the proxy data (type, host, port, user, and password).
◆ setUseSystemProxyConfiguration()
virtual void CFxNetworkAccessManager::setUseSystemProxyConfiguration |
( |
bool |
enable | ) |
|
|
pure virtual |
Description: If enabled, proxy configuration will be taken from the system settings. The proxy settings of CFxNetworkAccessManager will be ignored if this is enabled.
◆ showDialog()
virtual int CFxNetworkAccessManager::showDialog |
( |
| ) |
|
|
pure virtual |
Description: Shows the proxy server settings dialog. The user can add/change settings for a proxy server connection. Settings can be read via CFxNetworkAccessManager::proxy().
If you cancels dialog method will return RTCAN else RTNORM.
◆ usesSystemProxyConfiguration()
virtual bool CFxNetworkAccessManager::usesSystemProxyConfiguration |
( |
| ) |
|
|
pure virtual |
Description: Returns whether the proxy configuration is set from the system settings.
The documentation for this class was generated from the following file: