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.
|
#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 |
Definition at line 65 of file SWGHttpRequest.h.
|
explicit |
Definition at line 53 of file SWGHttpRequest.cpp.
References manager, and on_manager_finished().
|
virtual |
Definition at line 62 of file SWGHttpRequest.cpp.
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().
QString SWGSDRangel::SWGHttpRequestWorker::http_attribute_encode | ( | QString | attribute_name, |
QString | input | ||
) |
Definition at line 65 of file SWGHttpRequest.cpp.
References i.
Referenced by execute().
|
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().
|
privateslot |
Definition at line 313 of file SWGHttpRequest.cpp.
References error_str, error_type, on_execution_finished(), response, and sslDefaultConfiguration.
Referenced by SWGHttpRequestWorker().
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().
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().
|
private |
Definition at line 84 of file SWGHttpRequest.h.
Referenced by execute(), and SWGHttpRequestWorker().
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().
|
static |
Definition at line 78 of file SWGHttpRequest.h.
Referenced by execute(), and on_manager_finished().