KD SOAP API Documentation  2.1
KDSoapPendingCall_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap project.
4 **
5 ** SPDX-FileCopyrightText: 2010-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 #ifndef KDSOAPPENDINGCALL_P_H
11 #define KDSOAPPENDINGCALL_P_H
12 
13 #include "KDSoapClientInterface.h"
14 #include "KDSoapMessage.h"
15 #include <QBuffer>
16 #include <QNetworkReply>
17 #include <QPointer>
18 #include <QSharedData>
19 #include <QXmlStreamReader>
20 
21 class KDSoapValue;
22 
23 void maybeDebugRequest(const QByteArray &data, const QNetworkRequest &request, QNetworkReply *reply);
24 
25 class KDSoapPendingCall::Private : public QSharedData
26 {
27 public:
28  Private(QNetworkReply *r, QBuffer *b)
29  : reply(r)
30  , buffer(b)
32  , parsed(false)
33  {
34  }
35  ~Private();
36 
37  void parseReply();
38  KDSoapValue parseReplyElement(QXmlStreamReader &reader);
39 
40  // Can be deleted under us if the KDSoapClientInterface (and its QNetworkAccessManager)
41  // are deleted before the KDSoapPendingCall.
42  QPointer<QNetworkReply> reply;
43  QBuffer *buffer;
47  bool parsed;
48 };
49 
50 #endif // KDSOAPPENDINGCALL_P_H
void maybeDebugRequest(const QByteArray &data, const QNetworkRequest &request, QNetworkReply *reply)
QPointer< QNetworkReply > reply
KDSoapValue parseReplyElement(QXmlStreamReader &reader)
Private(QNetworkReply *r, QBuffer *b)
KDSoap::SoapVersion soapVersion
@ SOAP1_1
Definition: KDSoapValue.h:42

© 2010-2022 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Tue Jun 13 2023 12:18:34 for KD SOAP API Documentation by doxygen 1.9.1