1// Copyright (C) 2019 Mikhail Svetkin <mikhail.svetkin@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QHTTPSERVERLITERALS_P_H
5#define QHTTPSERVERLITERALS_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of QHttpServer. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16
17#include <QtHttpServer/qthttpserverglobal.h>
18
19#include <QtCore/qstringfwd.h>
20
21QT_BEGIN_NAMESPACE
22
23namespace QHttpServerLiterals {
24
25QByteArray contentTypeXEmpty();
26QByteArray contentTypeTextHtml();
27QByteArray contentTypeJson();
28
29}
30
31QT_END_NAMESPACE
32
33#endif // QHTTPSERVERLITERALS_P_H
34

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

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