Http Downloader V2
class HttpDownloaderV2(httpManager: HttpManager, request: DownloadRequest, destFile: File) : Downloader
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
Call this to start the download. Never call this more than once. Create a new Downloader, if you need to download again!
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.