QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCNetworkHelper::RequestConfig Struct Reference

Common request configuration options. More...

#include <QGCNetworkHelper.h>

Public Attributes

int timeoutMs = kDefaultTimeoutMs
 
bool allowRedirects = true
 
bool http2Allowed = true
 
bool cacheEnabled = true
 
bool backgroundRequest = false
 
QString userAgent
 
QString accept = QStringLiteral("*/*")
 
QString acceptEncoding
 
QString contentType
 
QList< QPair< QNetworkRequest::Attribute, QVariant > > requestAttributes
 

Detailed Description

Common request configuration options.

Definition at line 148 of file QGCNetworkHelper.h.

Member Data Documentation

◆ accept

QString QGCNetworkHelper::RequestConfig::accept = QStringLiteral("*/*")

Definition at line 156 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ acceptEncoding

QString QGCNetworkHelper::RequestConfig::acceptEncoding

Definition at line 157 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ allowRedirects

bool QGCNetworkHelper::RequestConfig::allowRedirects = true

◆ backgroundRequest

bool QGCNetworkHelper::RequestConfig::backgroundRequest = false

Definition at line 154 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ cacheEnabled

bool QGCNetworkHelper::RequestConfig::cacheEnabled = true

Definition at line 153 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ contentType

QString QGCNetworkHelper::RequestConfig::contentType

Definition at line 158 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ http2Allowed

bool QGCNetworkHelper::RequestConfig::http2Allowed = true

Definition at line 152 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ requestAttributes

QList<QPair<QNetworkRequest::Attribute, QVariant> > QGCNetworkHelper::RequestConfig::requestAttributes

Definition at line 159 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ timeoutMs

int QGCNetworkHelper::RequestConfig::timeoutMs = kDefaultTimeoutMs

◆ userAgent

QString QGCNetworkHelper::RequestConfig::userAgent

Definition at line 155 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().


The documentation for this struct was generated from the following file: