|
| template<typename Receiver > |
| void | connectSignals (Receiver &dl) |
| |
| void | disconnectSignals () |
| |
| | NetworkRequest (Url url, zypp::Pathname targetFile, FileMode fMode=WriteExclusive) |
| |
| | ZYPP_DECLARE_FLAGS (Options, OptionBits) |
| |
| | NetworkRequest (Url url, zypp::Pathname targetFile, FileMode fMode=WriteExclusive) |
| |
| | ~NetworkRequest () override |
| |
| void | setExpectedFileSize (zypp::ByteCount expectedFileSize) |
| |
| void | setPriority (Priority prio, bool triggerReschedule=true) |
| |
| Priority | priority () const |
| |
| void | setOptions (Options opt) |
| |
| Options | options () const |
| |
| void | addRequestRange (size_t start, size_t len=0, std::optional< zypp::Digest > &&digest={}, CheckSumBytes expectedChkSum=CheckSumBytes(), std::any userData=std::any(), std::optional< size_t > digestCompareLen={}, std::optional< size_t > chksumpad={}) |
| |
| void | addRequestRange (Range &&range) |
| |
| bool | setExpectedFileChecksum (const zypp::CheckSum &expected) |
| |
| void | resetRequestRanges () |
| |
| std::vector< Range > | failedRanges () const |
| |
| const std::vector< Range > & | requestedRanges () const |
| |
| const std::string & | lastRedirectInfo () const |
| |
| void * | nativeHandle () const |
| |
| std::optional< Timings > | timings () const |
| | After the request is finished query the timings that were collected during download. More...
|
| |
| 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...
|
| |
| void | setTargetFilePath (const zypp::Pathname &path) |
| | Changes the target file path of the download. More...
|
| |
| FileMode | fileOpenMode () const |
| | Returns the currently configured file open mode. More...
|
| |
| void | setFileOpenMode (FileMode mode) |
| | Sets the file open mode to mode. More...
|
| |
| std::string | contentType () const |
| | Returns the content type as reported from the server. More...
|
| |
| zypp::ByteCount | 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...
|
| |
| zypp::ByteCount | downloadedByteCount () const |
| | Returns the number of already downloaded bytes as reported by the backend. More...
|
| |
| TransferSettings & | transferSettings () |
| |
| State | state () const |
| | Returns the current state the HttpDownloadRequest is in. More...
|
| |
| NetworkRequestError | error () const |
| | Returns the last set Error. More...
|
| |
| std::string | extendedErrorString () const |
| | In some cases, curl can provide extended error information 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, zypp::ByteCount count)> | sigBytesDownloaded () |
| | Signals that new data has been downloaded, this is only the payload and does not include control data bytes. 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...
|
| |
Definition at line 60 of file base_p.h.