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 contentTypeHeader();
26QByteArray contentTypeXEmpty();
27QByteArray contentTypeTextHtml();
28QByteArray contentTypeJson();
29QByteArray contentLengthHeader();
30
31}
32
33QT_END_NAMESPACE
34
35#endif // QHTTPSERVERLITERALS_P_H
36

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