Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
testhttpserver.cpp File Reference
#include "testhttpserver_p.h"
#include <QTcpSocket>
#include <QDebug>
#include <QFile>
#include <QTimer>
#include <QTest>
#include <QQmlFile>
#include "moc_testhttpserver_p.cpp"
+ Include dependency graph for testhttpserver.cpp:

Go to the source code of this file.

Functions

static QUrl localHostUrl (quint16 port)
 

Variables

static QList< QByteArrayViewignoredHeaders
 

Function Documentation

◆ localHostUrl()

static QUrl localHostUrl ( quint16  port)
static

Definition at line 63 of file testhttpserver.cpp.

References QStringLiteral, QUrl::setHost(), QUrl::setPort(), QUrl::setScheme(), and url.

Referenced by TestHTTPServer::baseUrl(), and ThreadedTestHTTPServer::baseUrl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ignoredHeaders

QList<QByteArrayView> ignoredHeaders
static
Initial value:
= {
"HTTP2-Settings",
"Upgrade",
}

Definition at line 58 of file testhttpserver.cpp.