SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Signals | Public Member Functions | Public Attributes | Static Public Attributes | Private Slots | Private Attributes | List of all members
SWGSDRangel::SWGHttpRequestWorker Class Reference

#include <SWGHttpRequest.h>

Inherits QObject.

Signals

void on_execution_finished (SWGHttpRequestWorker *worker)
 

Public Member Functions

 SWGHttpRequestWorker (QObject *parent=0)
 
virtual ~SWGHttpRequestWorker ()
 
QString http_attribute_encode (QString attribute_name, QString input)
 
void execute (SWGHttpRequestInput *input)
 

Public Attributes

QByteArray response
 
QNetworkReply::NetworkError error_type
 
QString error_str
 

Static Public Attributes

static QSslConfiguration * sslDefaultConfiguration
 

Private Slots

void on_manager_finished (QNetworkReply *reply)
 

Private Attributes

QNetworkAccessManager * manager
 

Detailed Description

Definition at line 65 of file SWGHttpRequest.h.

Constructor & Destructor Documentation

◆ SWGHttpRequestWorker()

SWGSDRangel::SWGHttpRequestWorker::SWGHttpRequestWorker ( QObject *  parent = 0)
explicit

Definition at line 53 of file SWGHttpRequest.cpp.

References manager, and on_manager_finished().

54  : QObject(parent), manager(nullptr)
55 {
56  qsrand(QDateTime::currentDateTime().toTime_t());
57 
58  manager = new QNetworkAccessManager(this);
59  connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(on_manager_finished(QNetworkReply*)));
60 }
void on_manager_finished(QNetworkReply *reply)
QNetworkAccessManager * manager
+ Here is the call graph for this function:

◆ ~SWGHttpRequestWorker()

SWGSDRangel::SWGHttpRequestWorker::~SWGHttpRequestWorker ( )
virtual

Definition at line 62 of file SWGHttpRequest.cpp.

62  {
63 }

Member Function Documentation

◆ execute()

void SWGSDRangel::SWGHttpRequestWorker::execute ( SWGHttpRequestInput input)

Definition at line 113 of file SWGHttpRequest.cpp.

References SWGSDRangel::ADDRESS, arg(), error_str, error_type, SWGSDRangel::SWGHttpRequestInput::files, SWGSDRangel::SWGHttpRequestInput::headers, http_attribute_encode(), SWGSDRangel::SWGHttpRequestInput::http_method, manager, SWGSDRangel::MULTIPART, SWGSDRangel::NOT_SET, SWGSDRangel::SWGHttpRequestInput::request_body, response, sslDefaultConfiguration, SWGSDRangel::URL_ENCODED, SWGSDRangel::SWGHttpRequestInput::url_str, SWGSDRangel::SWGHttpRequestInput::var_layout, and SWGSDRangel::SWGHttpRequestInput::vars.

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetChannelDelete(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelPost(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGet(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGet(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPut(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDevicePut(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDelete(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPost(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPut(), SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetGet(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesDelete(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesGet(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPatch(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPut(), SWGSDRangel::SWGInstanceApi::instanceAMBESerialGet(), SWGSDRangel::SWGInstanceApi::instanceAudioGet(), SWGSDRangel::SWGInstanceApi::instanceAudioInputCleanupPatch(), SWGSDRangel::SWGInstanceApi::instanceAudioInputDelete(), SWGSDRangel::SWGInstanceApi::instanceAudioInputPatch(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputCleanupPatch(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputDelete(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputPatch(), SWGSDRangel::SWGInstanceApi::instanceChannels(), SWGSDRangel::SWGInstanceApi::instanceConfig(), SWGSDRangel::SWGInstanceApi::instanceDelete(), SWGSDRangel::SWGInstanceApi::instanceDevices(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDelete(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPost(), SWGSDRangel::SWGInstanceApi::instanceDeviceSetsGet(), SWGSDRangel::SWGInstanceApi::instanceLocationGet(), SWGSDRangel::SWGInstanceApi::instanceLocationPut(), SWGSDRangel::SWGInstanceApi::instanceLoggingGet(), SWGSDRangel::SWGInstanceApi::instanceLoggingPut(), SWGSDRangel::SWGInstanceApi::instancePresetDelete(), SWGSDRangel::SWGInstanceApi::instancePresetFilePost(), SWGSDRangel::SWGInstanceApi::instancePresetFilePut(), SWGSDRangel::SWGInstanceApi::instancePresetGet(), SWGSDRangel::SWGInstanceApi::instancePresetPatch(), SWGSDRangel::SWGInstanceApi::instancePresetPost(), SWGSDRangel::SWGInstanceApi::instancePresetPut(), and SWGSDRangel::SWGInstanceApi::instanceSummary().

113  {
114 
115  // reset variables
116 
117  QByteArray request_content = "";
118  response = "";
119  error_type = QNetworkReply::NoError;
120  error_str = "";
121  bool isFormData = false;
122 
123 
124  // decide on the variable layout
125 
126  if (input->files.length() > 0) {
127  input->var_layout = MULTIPART;
128  }
129  if (input->var_layout == NOT_SET) {
130  input->var_layout = input->http_method == "GET" || input->http_method == "HEAD" ? ADDRESS : URL_ENCODED;
131  }
132 
133 
134  // prepare request content
135 
136  QString boundary = "";
137 
138  if (input->var_layout == ADDRESS || input->var_layout == URL_ENCODED) {
139  // variable layout is ADDRESS or URL_ENCODED
140 
141  if (input->vars.count() > 0) {
142  bool first = true;
143  isFormData = true;
144  foreach (QString key, input->vars.keys()) {
145  if (!first) {
146  request_content.append("&");
147  }
148  first = false;
149 
150  request_content.append(QUrl::toPercentEncoding(key));
151  request_content.append("=");
152  request_content.append(QUrl::toPercentEncoding(input->vars.value(key)));
153  }
154 
155  if (input->var_layout == ADDRESS) {
156  input->url_str += "?" + request_content;
157  request_content = "";
158  }
159  }
160  }
161  else {
162  // variable layout is MULTIPART
163 
164  boundary = "__-----------------------"
165  + QString::number(QDateTime::currentDateTime().toTime_t())
166  + QString::number(qrand());
167  QString boundary_delimiter = "--";
168  QString new_line = "\r\n";
169 
170  // add variables
171  foreach (QString key, input->vars.keys()) {
172  // add boundary
173  request_content.append(boundary_delimiter);
174  request_content.append(boundary);
175  request_content.append(new_line);
176 
177  // add header
178  request_content.append("Content-Disposition: form-data; ");
179  request_content.append(http_attribute_encode("name", key));
180  request_content.append(new_line);
181  request_content.append("Content-Type: text/plain");
182  request_content.append(new_line);
183 
184  // add header to body splitter
185  request_content.append(new_line);
186 
187  // add variable content
188  request_content.append(input->vars.value(key));
189  request_content.append(new_line);
190  }
191 
192  // add files
193  for (QList<SWGHttpRequestInputFileElement>::iterator file_info = input->files.begin(); file_info != input->files.end(); file_info++) {
194  QFileInfo fi(file_info->local_filename);
195 
196  // ensure necessary variables are available
197  if (
198  file_info->local_filename == nullptr || file_info->local_filename.isEmpty()
199  || file_info->variable_name == nullptr || file_info->variable_name.isEmpty()
200  || !fi.exists() || !fi.isFile() || !fi.isReadable()
201  ) {
202  // silent abort for the current file
203  continue;
204  }
205 
206  QFile file(file_info->local_filename);
207  if (!file.open(QIODevice::ReadOnly)) {
208  // silent abort for the current file
209  continue;
210  }
211 
212  // ensure filename for the request
213  if (file_info->request_filename == nullptr || file_info->request_filename.isEmpty()) {
214  file_info->request_filename = fi.fileName();
215  if (file_info->request_filename.isEmpty()) {
216  file_info->request_filename = "file";
217  }
218  }
219 
220  // add boundary
221  request_content.append(boundary_delimiter);
222  request_content.append(boundary);
223  request_content.append(new_line);
224 
225  // add header
226  request_content.append(QString("Content-Disposition: form-data; %1; %2").arg(
227  http_attribute_encode("name", file_info->variable_name),
228  http_attribute_encode("filename", file_info->request_filename)
229  ));
230  request_content.append(new_line);
231 
232  if (file_info->mime_type != nullptr && !file_info->mime_type.isEmpty()) {
233  request_content.append("Content-Type: ");
234  request_content.append(file_info->mime_type);
235  request_content.append(new_line);
236  }
237 
238  request_content.append("Content-Transfer-Encoding: binary");
239  request_content.append(new_line);
240 
241  // add header to body splitter
242  request_content.append(new_line);
243 
244  // add file content
245  request_content.append(file.readAll());
246  request_content.append(new_line);
247 
248  file.close();
249  }
250 
251  // add end of body
252  request_content.append(boundary_delimiter);
253  request_content.append(boundary);
254  request_content.append(boundary_delimiter);
255  }
256 
257  if(input->request_body.size() > 0) {
258  qDebug() << "got a request body";
259  request_content.clear();
260  request_content.append(input->request_body);
261  }
262  // prepare connection
263 
264  QNetworkRequest request = QNetworkRequest(QUrl(input->url_str));
266  request.setSslConfiguration(*SWGHttpRequestWorker::sslDefaultConfiguration);
267  }
268  request.setRawHeader("User-Agent", "Swagger-Client");
269  foreach(QString key, input->headers.keys()) {
270  request.setRawHeader(key.toStdString().c_str(), input->headers.value(key).toStdString().c_str());
271  }
272 
273  if (request_content.size() > 0 && !isFormData) {
274  request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
275  }
276  else if (input->var_layout == URL_ENCODED) {
277  request.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
278  }
279  else if (input->var_layout == MULTIPART) {
280  request.setHeader(QNetworkRequest::ContentTypeHeader, "multipart/form-data; boundary=" + boundary);
281  }
282 
283  if (input->http_method == "GET") {
284  manager->get(request);
285  }
286  else if (input->http_method == "POST") {
287  manager->post(request, request_content);
288  }
289  else if (input->http_method == "PUT") {
290  manager->put(request, request_content);
291  }
292  else if (input->http_method == "HEAD") {
293  manager->head(request);
294  }
295  else if (input->http_method == "DELETE") {
296  manager->deleteResource(request);
297  }
298  else {
299 #if (QT_VERSION >= 0x050800)
300  manager->sendCustomRequest(request, input->http_method.toLatin1(), request_content);
301 #else
302  QBuffer *buffer = new QBuffer;
303  buffer->setData(request_content);
304  buffer->open(QIODevice::ReadOnly);
305 
306  QNetworkReply* reply = manager->sendCustomRequest(request, input->http_method.toLatin1(), buffer);
307  buffer->setParent(reply);
308 #endif
309  }
310 
311 }
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
Definition: fixed.h:2401
static QSslConfiguration * sslDefaultConfiguration
QString http_attribute_encode(QString attribute_name, QString input)
QNetworkAccessManager * manager
QNetworkReply::NetworkError error_type
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ http_attribute_encode()

QString SWGSDRangel::SWGHttpRequestWorker::http_attribute_encode ( QString  attribute_name,
QString  input 
)

Definition at line 65 of file SWGHttpRequest.cpp.

References i.

Referenced by execute().

65  {
66  // result structure follows RFC 5987
67  bool need_utf_encoding = false;
68  QString result = "";
69  QByteArray input_c = input.toLocal8Bit();
70  char c;
71  for (int i = 0; i < input_c.length(); i++) {
72  c = input_c.at(i);
73  if (c == '\\' || c == '/' || c == '\0' || c < ' ' || c > '~') {
74  // ignore and request utf-8 version
75  need_utf_encoding = true;
76  }
77  else if (c == '"') {
78  result += "\\\"";
79  }
80  else {
81  result += c;
82  }
83  }
84 
85  if (result.length() == 0) {
86  need_utf_encoding = true;
87  }
88 
89  if (!need_utf_encoding) {
90  // return simple version
91  return QString("%1=\"%2\"").arg(attribute_name, result);
92  }
93 
94  QString result_utf8 = "";
95  for (int i = 0; i < input_c.length(); i++) {
96  c = input_c.at(i);
97  if (
98  (c >= '0' && c <= '9')
99  || (c >= 'A' && c <= 'Z')
100  || (c >= 'a' && c <= 'z')
101  ) {
102  result_utf8 += c;
103  }
104  else {
105  result_utf8 += "%" + QString::number(static_cast<unsigned char>(input_c.at(i)), 16).toUpper();
106  }
107  }
108 
109  // return enhanced version with UTF-8 support
110  return QString("%1=\"%2\"; %1*=utf-8''%3").arg(attribute_name, result, result_utf8);
111 }
int32_t i
Definition: decimators.h:244
+ Here is the caller graph for this function:

◆ on_execution_finished

void SWGSDRangel::SWGHttpRequestWorker::on_execution_finished ( SWGHttpRequestWorker worker)
signal

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetChannelDelete(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelPost(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGet(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGet(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPut(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDevicePut(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDelete(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPost(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGet(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPut(), SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatch(), SWGSDRangel::SWGDeviceSetApi::devicesetGet(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesDelete(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesGet(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPatch(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPut(), SWGSDRangel::SWGInstanceApi::instanceAMBESerialGet(), SWGSDRangel::SWGInstanceApi::instanceAudioGet(), SWGSDRangel::SWGInstanceApi::instanceAudioInputCleanupPatch(), SWGSDRangel::SWGInstanceApi::instanceAudioInputDelete(), SWGSDRangel::SWGInstanceApi::instanceAudioInputPatch(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputCleanupPatch(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputDelete(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputPatch(), SWGSDRangel::SWGInstanceApi::instanceChannels(), SWGSDRangel::SWGInstanceApi::instanceConfig(), SWGSDRangel::SWGInstanceApi::instanceDelete(), SWGSDRangel::SWGInstanceApi::instanceDevices(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDelete(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPost(), SWGSDRangel::SWGInstanceApi::instanceDeviceSetsGet(), SWGSDRangel::SWGInstanceApi::instanceLocationGet(), SWGSDRangel::SWGInstanceApi::instanceLocationPut(), SWGSDRangel::SWGInstanceApi::instanceLoggingGet(), SWGSDRangel::SWGInstanceApi::instanceLoggingPut(), SWGSDRangel::SWGInstanceApi::instancePresetDelete(), SWGSDRangel::SWGInstanceApi::instancePresetFilePost(), SWGSDRangel::SWGInstanceApi::instancePresetFilePut(), SWGSDRangel::SWGInstanceApi::instancePresetGet(), SWGSDRangel::SWGInstanceApi::instancePresetPatch(), SWGSDRangel::SWGInstanceApi::instancePresetPost(), SWGSDRangel::SWGInstanceApi::instancePresetPut(), SWGSDRangel::SWGInstanceApi::instanceSummary(), and on_manager_finished().

+ Here is the caller graph for this function:

◆ on_manager_finished

void SWGSDRangel::SWGHttpRequestWorker::on_manager_finished ( QNetworkReply *  reply)
privateslot

Definition at line 313 of file SWGHttpRequest.cpp.

References error_str, error_type, on_execution_finished(), response, and sslDefaultConfiguration.

Referenced by SWGHttpRequestWorker().

313  {
314  error_type = reply->error();
315  response = reply->readAll();
316  error_str = reply->errorString();
317 
318  reply->deleteLater();
319 
320  emit on_execution_finished(this);
321 }
void on_execution_finished(SWGHttpRequestWorker *worker)
QNetworkReply::NetworkError error_type
+ Here is the caller graph for this function:

Member Data Documentation

◆ error_str

QString SWGSDRangel::SWGHttpRequestWorker::error_str

Definition at line 71 of file SWGHttpRequest.h.

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetGetCallback(), execute(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPutCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBESerialGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputCleanupPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputCleanupPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceChannelsCallback(), SWGSDRangel::SWGInstanceApi::instanceConfigCallback(), SWGSDRangel::SWGInstanceApi::instanceDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceDevicesCallback(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostCallback(), SWGSDRangel::SWGInstanceApi::instanceDeviceSetsGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLocationGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLocationPutCallback(), SWGSDRangel::SWGInstanceApi::instanceLoggingGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLoggingPutCallback(), SWGSDRangel::SWGInstanceApi::instancePresetDeleteCallback(), SWGSDRangel::SWGInstanceApi::instancePresetFilePostCallback(), SWGSDRangel::SWGInstanceApi::instancePresetFilePutCallback(), SWGSDRangel::SWGInstanceApi::instancePresetGetCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPatchCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPostCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPutCallback(), SWGSDRangel::SWGInstanceApi::instanceSummaryCallback(), and on_manager_finished().

◆ error_type

QNetworkReply::NetworkError SWGSDRangel::SWGHttpRequestWorker::error_type

Definition at line 70 of file SWGHttpRequest.h.

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetGetCallback(), execute(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPutCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBESerialGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputCleanupPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputCleanupPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceChannelsCallback(), SWGSDRangel::SWGInstanceApi::instanceConfigCallback(), SWGSDRangel::SWGInstanceApi::instanceDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceDevicesCallback(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostCallback(), SWGSDRangel::SWGInstanceApi::instanceDeviceSetsGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLocationGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLocationPutCallback(), SWGSDRangel::SWGInstanceApi::instanceLoggingGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLoggingPutCallback(), SWGSDRangel::SWGInstanceApi::instancePresetDeleteCallback(), SWGSDRangel::SWGInstanceApi::instancePresetFilePostCallback(), SWGSDRangel::SWGInstanceApi::instancePresetFilePutCallback(), SWGSDRangel::SWGInstanceApi::instancePresetGetCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPatchCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPostCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPutCallback(), SWGSDRangel::SWGInstanceApi::instanceSummaryCallback(), and on_manager_finished().

◆ manager

QNetworkAccessManager* SWGSDRangel::SWGHttpRequestWorker::manager
private

Definition at line 84 of file SWGHttpRequest.h.

Referenced by execute(), and SWGHttpRequestWorker().

◆ response

QByteArray SWGSDRangel::SWGHttpRequestWorker::response

Definition at line 69 of file SWGHttpRequest.h.

Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetChannelDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelPostCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelSettingsPutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetChannelsReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDevicePutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceReportGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceRunPostCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsGetCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetDeviceSettingsPutCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetFocusPatchCallback(), SWGSDRangel::SWGDeviceSetApi::devicesetGetCallback(), execute(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBEDevicesPutCallback(), SWGSDRangel::SWGInstanceApi::instanceAMBESerialGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioGetCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputCleanupPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioInputPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputCleanupPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceAudioOutputPatchCallback(), SWGSDRangel::SWGInstanceApi::instanceChannelsCallback(), SWGSDRangel::SWGInstanceApi::instanceConfigCallback(), SWGSDRangel::SWGInstanceApi::instanceDeleteCallback(), SWGSDRangel::SWGInstanceApi::instanceDevicesCallback(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetDeleteCallback(), SWGSDRangel::SWGDeviceSetApi::instanceDeviceSetPostCallback(), SWGSDRangel::SWGInstanceApi::instanceDeviceSetsGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLocationGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLocationPutCallback(), SWGSDRangel::SWGInstanceApi::instanceLoggingGetCallback(), SWGSDRangel::SWGInstanceApi::instanceLoggingPutCallback(), SWGSDRangel::SWGInstanceApi::instancePresetDeleteCallback(), SWGSDRangel::SWGInstanceApi::instancePresetFilePostCallback(), SWGSDRangel::SWGInstanceApi::instancePresetFilePutCallback(), SWGSDRangel::SWGInstanceApi::instancePresetGetCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPatchCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPostCallback(), SWGSDRangel::SWGInstanceApi::instancePresetPutCallback(), SWGSDRangel::SWGInstanceApi::instanceSummaryCallback(), and on_manager_finished().

◆ sslDefaultConfiguration

QSslConfiguration * SWGSDRangel::SWGHttpRequestWorker::sslDefaultConfiguration
static

Definition at line 78 of file SWGHttpRequest.h.

Referenced by execute(), and on_manager_finished().


The documentation for this class was generated from the following files: