void YASWebProxy::onResponse(QByteArray body)
{
    HttpParser* resParser = qobject_cast<HttpParser*>(sender());
    QUrl url = QUrl(resParser->property("url").toString());
    emit apiResponse(url, body);
}
Ejemplo n.º 2
0
// The api/failResponse is called just for the side effect of logging.
void Ledger::updateLocationSuccess(QNetworkReply& reply) { apiResponse("updateLocation", reply); }