void downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
Emitted when data is received.
void fetched()
Emitted when the network content has been fetched, regardless of whether the fetch was successful or ...
QNetworkReply * reply()
Returns a reference to the network reply.
QNetworkReply * reply()
Returns the network reply.
Handles HTTP network content fetching in a background task.
QgsNetworkContentFetcherTask(const QUrl &url)
Constructor for a QgsNetworkContentFetcherTask which fetches the specified url.
HTTP network content fetcher.
void finished()
Emitted when content has loaded.
void cancel()
Cancels any ongoing request.
void fetchContent(const QUrl &url)
Fetches content from a remote URL and handles redirects.
bool run() override
Performs the task's operation.
void cancel() override
Notifies the task that it should terminate.
~QgsNetworkContentFetcherTask()