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
int connectionCacheExpirySecs = -1
int tcpKeepAliveIdleSecs = -1
int tcpKeepAliveIntervalSecs = -1
int tcpKeepAliveProbeCount = -1

Detailed Description

Common request configuration options.

Definition at line 155 of file QGCNetworkHelper.h.

Member Data Documentation

◆ accept

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

Definition at line 163 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ acceptEncoding

QString QGCNetworkHelper::RequestConfig::acceptEncoding

Definition at line 164 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ allowRedirects

bool QGCNetworkHelper::RequestConfig::allowRedirects = true

◆ backgroundRequest

bool QGCNetworkHelper::RequestConfig::backgroundRequest = false

Definition at line 161 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ cacheEnabled

bool QGCNetworkHelper::RequestConfig::cacheEnabled = true

Definition at line 160 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ connectionCacheExpirySecs

int QGCNetworkHelper::RequestConfig::connectionCacheExpirySecs = -1

Definition at line 168 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ contentType

QString QGCNetworkHelper::RequestConfig::contentType

Definition at line 165 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ http2Allowed

bool QGCNetworkHelper::RequestConfig::http2Allowed = true

Definition at line 159 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ requestAttributes

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

Definition at line 166 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ tcpKeepAliveIdleSecs

int QGCNetworkHelper::RequestConfig::tcpKeepAliveIdleSecs = -1

Definition at line 169 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ tcpKeepAliveIntervalSecs

int QGCNetworkHelper::RequestConfig::tcpKeepAliveIntervalSecs = -1

Definition at line 170 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ tcpKeepAliveProbeCount

int QGCNetworkHelper::RequestConfig::tcpKeepAliveProbeCount = -1

Definition at line 171 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().

◆ timeoutMs

int QGCNetworkHelper::RequestConfig::timeoutMs = kDefaultTimeoutMs

◆ userAgent

QString QGCNetworkHelper::RequestConfig::userAgent

Definition at line 162 of file QGCNetworkHelper.h.

Referenced by QGCNetworkHelper::configureRequest().


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