Mercurial > trustbridge
diff ui/sslconnection.h @ 956:879a634d0a40
(issue41) Add proxy support
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 27 Aug 2014 16:31:40 +0200 |
parents | eaed02defe6a |
children | 2949f1842955 |
line wrap: on
line diff
--- a/ui/sslconnection.h Wed Aug 27 16:31:11 2014 +0200 +++ b/ui/sslconnection.h Wed Aug 27 16:31:40 2014 +0200 @@ -86,6 +86,15 @@ */ virtual bool downloadFile(const QString &resource, const QString &filename, size_t maxSize) = 0; + + /** @brief Set a proxy server to use. + * + * @param [in] proxyUrl theo URL of the proxy to use. + */ + virtual void setProxy(const QUrl &proxyUrl) { + qWarning() << "Set proxy not supported"; + } + protected: QUrl mUrl; QByteArray mPinnedCert;