ImagingTools Core SDK
CHttpFileTransfer.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ImtCore includes
6#include <imtcom/IFileTransfer.h>
7
8
9namespace imthttp
10{
11
12
13class CHttpFileTransfer: virtual public imtcom::IFileTransfer
14{
15public:
16 virtual bool UploadFile(const QString& filePath, const QUrl& url) const override;
17 virtual bool DownloadFile(const QString& filePath, const QUrl& url) const override;
18};
19
20
21} // namespace imthttp
22
23
Interface for file upload and download operations via URLs.
HTTP Client and File Transfer Module.