| 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 QHTTPSERVERROUTERRULE_P_H |
| 6 | #define QHTTPSERVERROUTERRULE_P_H |
| 7 | |
| 8 | #include <QtHttpServer/qhttpserverrouterrule.h> |
| 9 | |
| 10 | #include <QtCore/qregularexpression.h> |
| 11 | #include <QtCore/qstring.h> |
| 12 | #include <QtCore/qpointer.h> |
| 13 | |
| 14 | // |
| 15 | // W A R N I N G |
| 16 | // ------------- |
| 17 | // |
| 18 | // This file is not part of the Qt API. It exists for the convenience |
| 19 | // of QHttpServer. This header file may change from version to |
| 20 | // version without notice, or even be removed. |
| 21 | // |
| 22 | // We mean it. |
| 23 | |
| 24 | QT_BEGIN_NAMESPACE |
| 25 | |
| 26 | class QHttpServerRouterRulePrivate |
| 27 | { |
| 28 | public: |
| 29 | QString pathPattern; |
| 30 | QHttpServerRequest::Methods methods; |
| 31 | QtPrivate::SlotObjUniquePtr routerHandler; |
| 32 | QPointer<const QObject> context; |
| 33 | |
| 34 | QRegularExpression pathRegexp; |
| 35 | }; |
| 36 | |
| 37 | QT_END_NAMESPACE |
| 38 | |
| 39 | #endif // QHTTPSERVERROUTERRULE_P_H |
| 40 |
Definitions
Learn Advanced QML with KDAB
Find out more
