comparison 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
comparison
equal deleted inserted replaced
955:0f7aeb12e5e9 956:879a634d0a40
84 * 84 *
85 * @returns True if the download was successful. 85 * @returns True if the download was successful.
86 */ 86 */
87 virtual bool downloadFile(const QString &resource, const QString &filename, 87 virtual bool downloadFile(const QString &resource, const QString &filename,
88 size_t maxSize) = 0; 88 size_t maxSize) = 0;
89
90 /** @brief Set a proxy server to use.
91 *
92 * @param [in] proxyUrl theo URL of the proxy to use.
93 */
94 virtual void setProxy(const QUrl &proxyUrl) {
95 qWarning() << "Set proxy not supported";
96 }
97
89 protected: 98 protected:
90 QUrl mUrl; 99 QUrl mUrl;
91 QByteArray mPinnedCert; 100 QByteArray mPinnedCert;
92 bool mInitialized; 101 bool mInitialized;
93 bool mConnected; /* A connection was established */ 102 bool mConnected; /* A connection was established */

http://wald.intevation.org/projects/trustbridge/