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

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