|
| void | connectSignals (DownloadPrivate &dl) |
| |
| void | disconnectSignals () |
| |
| | NetworkRequest (Url url, zypp::Pathname targetFile, off_t start=-1, off_t len=0, FileMode fMode=WriteExclusive) |
| |
| | ZYPP_DECLARE_FLAGS (Options, OptionBits) |
| |
| | NetworkRequest (Url url, zypp::Pathname targetFile, off_t start=-1, off_t len=0, FileMode fMode=WriteExclusive) |
| |
| virtual | ~NetworkRequest () |
| |
| void | setPriority (Priority prio) |
| |
| Priority | priority () const |
| |
| void | setOptions (Options opt) |
| |
| Options | options () const |
| |
| void | setRequestRange (off_t start=-1, off_t len=0) |
| |
| const std::string & | lastRedirectInfo () const |
| |
| void * | nativeHandle () const |
| |
| std::vector< char > | peekData (off_t offset, size_t count) const |
| |
| Url | url () const |
| |
| void | setUrl (const Url &url) |
| | This will change the URL of the request. More...
|
| |
| const zypp::Pathname & | targetFilePath () const |
| | Returns the target filename path. More...
|
| |
| std::string | contentType () const |
| | Returns the content type as reported from the server. More...
|
| |
| off_t | downloadOffset () const |
| | Returns the requested start offset. More...
|
| |
| off_t | reportedByteCount () const |
| | Returns the number of bytes that are reported from the backend as the full download size, those can be 0 even when the download is already running. More...
|
| |
| off_t | expectedByteCount () const |
| | Returns the expected byte count that was passed to the constructor, zero if none was given. More...
|
| |
| off_t | downloadedByteCount () const |
| | Returns the number of already downloaded bytes as reported by the backend. More...
|
| |
| void | setDigest (std::shared_ptr< zypp::Digest > dig) |
| | Set a. More...
|
| |
| std::shared_ptr< zypp::Digest > | digest () const |
| | Returns the currently used. More...
|
| |
| void | setExpectedChecksum (std::vector< unsigned char > checksum) |
| | Enables automated checking of downloaded contents against a checksum. More...
|
| |
| TransferSettings & | transferSettings () |
| |
| State | state () const |
| | Returns the current state the HttpDownloadRequest is in. More...
|
| |
| const NetworkRequestError & | error () const |
| | Returns the last set Error. More...
|
| |
| std::string | extendedErrorString () const |
| | In some cases curl can provide extended error informations collected at runtime. More...
|
| |
| bool | hasError () const |
| | Checks if there was a error with the request. More...
|
| |
| bool | addRequestHeader (const std::string &header) |
| |
| SignalProxy< void(NetworkRequest &req)> | sigStarted () |
| | Signals that the dispatcher dequeued the request and actually starts downloading data. More...
|
| |
| SignalProxy< void(NetworkRequest &req, off_t dltotal, off_t dlnow, off_t ultotal, off_t ulnow)> | sigProgress () |
| | Signals if there was data read from the download. More...
|
| |
| SignalProxy< void(NetworkRequest &req, const NetworkRequestError &err)> | sigFinished () |
| | Signals that the download finished. More...
|
| |
| | Base () |
| |
| virtual | ~Base () |
| |
| WeakPtr | parent () const |
| |
| void | addChild (Base::Ptr child) |
| |
| void | removeChild (Ptr child) |
| |
| const std::unordered_set< Ptr > & | children () const |
| |
| template<typename T > |
| std::vector< std::weak_ptr< T > > | findChildren () const |
| |
| template<typename T > |
| std::shared_ptr< T > | shared_this () const |
| |
| template<typename T > |
| std::shared_ptr< T > | shared_this () |
| |
| template<typename T > |
| std::weak_ptr< T > | weak_this () const |
| |
| template<typename T > |
| std::weak_ptr< T > | weak_this () |
| |
Definition at line 24 of file downloader_p.h.