1 #ifndef ZYPP_NG_MEDIA_CURL_DOWNLOADER_H_INCLUDED 2 #define ZYPP_NG_MEDIA_CURL_DOWNLOADER_H_INCLUDED 5 #include <zypp/zyppng/base/Base> 7 #include <zypp/zyppng/core/Url> 9 #include <zypp/zyppng/media/network/AuthData> 21 class NetworkRequestDispatcher;
22 class DownloaderPrivate;
39 using Ptr = std::shared_ptr<Downloader>;
40 using WeakPtr = std::shared_ptr<Downloader>;
56 std::shared_ptr<NetworkRequestDispatcher> requestDispatcher ()
const;
129 using Ptr = std::shared_ptr<Download>;
165 State
state ()
const;
179 std::string errorString ()
const;
199 void setMultiPartHandlingEnabled (
bool enable =
true );
204 void setCheckExistsOnly (
bool set =
true );
215 NetworkRequestDispatcher &dispatcher ()
const;
std::weak_ptr< Base > WeakPtr
Store and operate with byte count.
The NetworkRequestError class Represents a error that occured in.
#define ZYPP_DECLARE_PRIVATE(Class)
#define LIBZYPP_NG_EXPORT
Easy-to use interface to the ZYPP dependency resolver.
std::shared_ptr< Base > Ptr
zypp::media::TransferSettings TransferSettings