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 147 of file QGCNetworkHelper.h.

Member Data Documentation

◆ accept

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

Definition at line 155 of file QGCNetworkHelper.h.

◆ acceptEncoding

QString QGCNetworkHelper::RequestConfig::acceptEncoding

Definition at line 156 of file QGCNetworkHelper.h.

◆ allowRedirects

bool QGCNetworkHelper::RequestConfig::allowRedirects = true

Definition at line 150 of file QGCNetworkHelper.h.

◆ backgroundRequest

bool QGCNetworkHelper::RequestConfig::backgroundRequest = false

Definition at line 153 of file QGCNetworkHelper.h.

◆ cacheEnabled

bool QGCNetworkHelper::RequestConfig::cacheEnabled = true

Definition at line 152 of file QGCNetworkHelper.h.

Referenced by NTRIPSourceTableController::fetch().

◆ connectionCacheExpirySecs

int QGCNetworkHelper::RequestConfig::connectionCacheExpirySecs = -1

Definition at line 160 of file QGCNetworkHelper.h.

◆ contentType

QString QGCNetworkHelper::RequestConfig::contentType

Definition at line 157 of file QGCNetworkHelper.h.

◆ http2Allowed

bool QGCNetworkHelper::RequestConfig::http2Allowed = true

Definition at line 151 of file QGCNetworkHelper.h.

Referenced by NTRIPSourceTableController::fetch().

◆ requestAttributes

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

Definition at line 158 of file QGCNetworkHelper.h.

◆ tcpKeepAliveIdleSecs

int QGCNetworkHelper::RequestConfig::tcpKeepAliveIdleSecs = -1

Definition at line 161 of file QGCNetworkHelper.h.

◆ tcpKeepAliveIntervalSecs

int QGCNetworkHelper::RequestConfig::tcpKeepAliveIntervalSecs = -1

Definition at line 162 of file QGCNetworkHelper.h.

◆ tcpKeepAliveProbeCount

int QGCNetworkHelper::RequestConfig::tcpKeepAliveProbeCount = -1

Definition at line 163 of file QGCNetworkHelper.h.

◆ timeoutMs

int QGCNetworkHelper::RequestConfig::timeoutMs = kDefaultTimeoutMs

◆ userAgent

QString QGCNetworkHelper::RequestConfig::userAgent

Definition at line 154 of file QGCNetworkHelper.h.

Referenced by NTRIPSourceTableController::fetch().


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