aboutsummaryrefslogtreecommitdiff
path: root/lib/connectiondata.cpp
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-02-22 13:51:51 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commitc2836e007e2d46c0c20270b99ede5b78d2c7170b (patch)
treee235f5c3e18b0f396592fd6dd787362d9f208ffd /lib/connectiondata.cpp
parentea617d31cf3f72f76fd49c0a20f445a78678fe5f (diff)
downloadlibquotient-c2836e007e2d46c0c20270b99ede5b78d2c7170b.tar.gz
libquotient-c2836e007e2d46c0c20270b99ede5b78d2c7170b.zip
ssl
Diffstat (limited to 'lib/connectiondata.cpp')
-rw-r--r--lib/connectiondata.cpp6
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;