diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-02-22 13:51:51 +0100 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:34:52 +0100 |
commit | c2836e007e2d46c0c20270b99ede5b78d2c7170b (patch) | |
tree | e235f5c3e18b0f396592fd6dd787362d9f208ffd /lib/connectiondata.cpp | |
parent | ea617d31cf3f72f76fd49c0a20f445a78678fe5f (diff) | |
download | libquotient-c2836e007e2d46c0c20270b99ede5b78d2c7170b.tar.gz libquotient-c2836e007e2d46c0c20270b99ede5b78d2c7170b.zip |
ssl
Diffstat (limited to 'lib/connectiondata.cpp')
-rw-r--r-- | lib/connectiondata.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/connectiondata.cpp b/lib/connectiondata.cpp index 87ad4577..672feb06 100644 --- a/lib/connectiondata.cpp +++ b/lib/connectiondata.cpp @@ -128,6 +128,12 @@ bool ConnectionData::needsToken(const QString& requestName) const != d->needToken.cend(); } +void ConnectionData::ignoreSslErrors(bool ignore) const +{ + auto quotientNam = static_cast<NetworkAccessManager>(nam()); + quotientNam.ignoreSslErrors(ignore); +} + void ConnectionData::setDeviceId(const QString& deviceId) { d->deviceId = deviceId; |