|
JS8Call-Improved master
|
QNetworkAccessManager subclass that remembers allowed SSL errors. More...
#include <NetworkAccessManager.h>


Public Member Functions | |
| NetworkAccessManager (QWidget *parent) | |
| Construct a NetworkAccessManager with a parent widget used for prompts. | |
Protected Member Functions | |
| QNetworkReply * | createRequest (Operation operation, QNetworkRequest const &request, QIODevice *outgoing_data=nullptr) override |
| Intercept request creation and apply cached allowed SSL errors. | |
QNetworkAccessManager subclass that remembers allowed SSL errors.
When the underlying network stack emits sslErrors, this manager will prompt the user (via JS8MessageBox) to ignore specific errors and cache the user's decision. The cached exceptions are then applied to subsequent replies produced by createRequest() so the user experience is smoother when connecting to servers with known-but-acceptable certificate issues.
|
inline |
Construct a NetworkAccessManager with a parent widget used for prompts.
| parent | Parent widget shown when prompting the user about SSL errors. |
|
inlineoverrideprotected |
Intercept request creation and apply cached allowed SSL errors.
Overrides QNetworkAccessManager::createRequest to attach the previously accepted SSL error exceptions to the produced QNetworkReply.