From 75ec461eeaa851cb5c53f4cfffc434e3e529ed1d Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Mon, 22 Jun 2020 21:10:04 +0200 Subject: Restructures the project source and cleans up a bit --- src/webclient.hpp | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 src/webclient.hpp (limited to 'src/webclient.hpp') diff --git a/src/webclient.hpp b/src/webclient.hpp deleted file mode 100644 index 58ae029..0000000 --- a/src/webclient.hpp +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef WEBCLIENT_HPP -#define WEBCLIENT_HPP - -#include -#include -#include - -#include "protocolhandler.hpp" - -class WebClient: public ProtocolHandler -{ -private: - Q_OBJECT -public: - explicit WebClient(); - - ~WebClient() override; - - bool supportsScheme(QString const & scheme) const override; - - bool startRequest(QUrl const & url, RequestOptions options) override; - - bool isInProgress() const override; - - bool cancelRequest() override; - - bool enableClientCertificate(CryptoIdentity const & ident) override; - void disableClientCertificate() override; - -private slots: - void on_data(); - void on_finished(); - void on_sslErrors(const QList &errors); - void on_redirected(const QUrl &url); - -private: - QNetworkAccessManager manager; - QNetworkReply * current_reply; - - QByteArray body; - RequestOptions options; - - CryptoIdentity current_identity; - - bool suppress_socket_tls_error; -}; - -#endif // WEBCLIENT_HPP -- cgit v1.2.3