7 this, &MyClass::replyFinished);
21 this, &MyClass::slotError);
23 this, &MyClass::slotSslErrors);
void readyRead()
This signal is emitted once every time new data is available for reading from the device's current re...
The QNetworkAccessManager class allows the application to send network requests and receive replies.
void finished(QNetworkReply *reply)
This signal is emitted whenever a pending network reply is finished.
QNetworkReply * get(const QNetworkRequest &request)
Posts a request to obtain the contents of the target request and returns a new QNetworkReply object o...
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
void errorOccurred(QNetworkReply::NetworkError)
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
void setRawHeader(const QByteArray &headerName, const QByteArray &value)
Sets the header headerName to be of value headerValue.
void setUrl(const QUrl &url)
Sets the URL this network request is referring to be url.
QNetworkAccessManager * manager
[0]
connect(manager, &QNetworkAccessManager::finished, this, &MyClass::replyFinished)
QNetworkRequest request
[0]