HttpDownloader Class | Qt Installer Framework Documentation 4.10.0

- Qt Installer Framework Documentation
- HttpDownloader
- Qt Installer Framework 4.10.0

# HttpDownloader Class

(KDUpdater::HttpDownloader)

The HttpDownloader class is used to download files over FTP, HTTP, or HTTPS. More...

Header: | #include <HttpDownloader>

- List of all members, including inherited members

## Public Variables

int |

## Protected Functions

void | onError()
void | onSuccess()
void | timerEvent(int *event) override

## Detailed Description

The HttpDownloader class is used to download files over FTP, HTTP, or HTTPS.

HTTPS is supported if Qt is built with SSL.

## Member Function Documentation

### `[protected]` void HttpDownloader::onError()

Closes the destination file if an error occurs during copying and stops the download speed timer.

### `[protected]` void HttpDownloader::onSuccess()

Closes the destination file after it has been successfully copied and stops the download speed timer.

### `[protected]` void HttpDownloader::timerEvent(int *event)

Called when the download timer event event occurs.