Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
testhttpserver.cpp File Reference

(85b7937b70ee7d2fbf02e7bdff12a01cf12e084c)

#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.