forked from ondra/server-sdk
26 lines
517 B
C++
26 lines
517 B
C++
#pragma once
|
|
|
|
#include "request.h"
|
|
|
|
namespace serversdk {
|
|
|
|
class SoapRequest : public Request
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
SoapRequest(QString action, const QString& endpoint, const QByteArray& data);
|
|
QNetworkRequest networkRequest() const override;
|
|
|
|
QString soapAction() const;
|
|
void setSoapAction(const QString &soapAction);
|
|
bool isSoapVersion12() const;
|
|
void setSoapVersion12(bool isSoapVersion12);
|
|
|
|
private:
|
|
QString mSoapAction;
|
|
bool mSoapVersion12 = false;
|
|
};
|
|
|
|
} // namespace serversdk
|
|
|