C++ (Qt)void CRestNodeController::sendRequest(const CRestRequest &request) { restClient.setBaseUrl(request.baseUrl); QNetworkReply *reply = nullptr; switch(request.funId) { case RestFunctions::Archives: reply = restClient.postMultipart("archives", request.values.value(0).toByteArray()); if(!reply->isFinished()) { connect(reply, &QNetworkReply::finished, this, &CRestNodeController::archivesSlot, Qt::QueuedConnection); } else { reply->deleteLater(); qDebug("CRestNodeController::sendRequest: Archives reply has finished or was aborted."); } break;...