1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QHTTPSERVERRESPONSE_P_H
6#define QHTTPSERVERRESPONSE_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of QHttpServerResponse. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17
18#include <private/qabstracthttpserver_p.h>
19
20#include <QtHttpServer/qhttpserverresponse.h>
21#include <QtNetwork/qhttpheaders.h>
22
23#include <functional>
24#include <unordered_map>
25
26QT_BEGIN_NAMESPACE
27
28class QHttpServerResponsePrivate
29{
30public:
31 QHttpServerResponsePrivate(QByteArray &&d, const QHttpServerResponse::StatusCode sc);
32 QHttpServerResponsePrivate(const QHttpServerResponse::StatusCode sc);
33
34 QByteArray data;
35 QHttpServerResponse::StatusCode statusCode;
36 QHttpHeaders headers;
37};
38
39QT_END_NAMESPACE
40
41#endif // QHTTPSERVERRESPONSE_P_H
42

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qthttpserver/src/httpserver/qhttpserverresponse_p.h