Http Downloader
class HttpDownloader(httpManager: HttpManager, request: DownloadRequest, destFile: File) : Downloader
Deprecated
Only for v1 repos
Download files over HTTP, with support for proxies, .onion addresses, HTTP Basic Auth, etc.
Properties
Functions
Link copied to clipboard
Cancel a running download, triggering an InterruptedException
Link copied to clipboard
After calling download, this returns true if a new file was downloaded and false if the file on the server has not changed and thus was not downloaded.
Link copied to clipboard
Link copied to clipboard
Check if the download was cancelled.