1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QHTTPSERVERROUTER_P_H
5#define QHTTPSERVERROUTER_P_H
6
7#include <QtHttpServer/qhttpserverrouter.h>
8#include <QtHttpServer/qhttpserverrouterrule.h>
9
10#include <QtCore/qhash.h>
11#include <QtCore/qstring.h>
12
13#include <memory>
14#include <vector>
15
16//
17// W A R N I N G
18// -------------
19//
20// This file is not part of the Qt API. It exists for the convenience
21// of QHttpServer. This header file may change from version to
22// version without notice, or even be removed.
23//
24// We mean it.
25
26QT_BEGIN_NAMESPACE
27
28class QHttpServerRouterPrivate
29{
30public:
31 QHttpServerRouterPrivate();
32
33 QHash<QMetaType, QString> converters;
34 std::vector<std::unique_ptr<QHttpServerRouterRule>> rules;
35};
36
37QT_END_NAMESPACE
38
39#endif // QHTTPSERVERROUTER_P_H
40

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