cutelyst  3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
utils.h
1 /*
2  * SPDX-FileCopyrightText: (C) 2015-2022 Daniel Nicoletti <dantti12@gmail.com>
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 #ifndef UTILS_H
6 #define UTILS_H
7 
8 #include <Cutelyst/ParamsMultiMap>
9 #include <Cutelyst/cutelyst_global.h>
10 
11 #include <QtCore/QStringList>
12 
13 namespace Cutelyst {
14 
15 namespace Utils {
16 CUTELYST_LIBRARY QByteArray buildTable(const QVector<QStringList> &table,
17  const QStringList &headers = QStringList(),
18  const QString &title = QString());
19 
20 CUTELYST_LIBRARY QString decodePercentEncoding(QString *s);
21 
22 CUTELYST_LIBRARY ParamsMultiMap decodePercentEncoding(char *data, int len);
23 
24 CUTELYST_LIBRARY QString decodePercentEncoding(QByteArray *ba);
25 } // namespace Utils
26 
27 } // namespace Cutelyst
28 
29 #endif // UTILS_H
QMultiMap< QString, QString > ParamsMultiMap
The Cutelyst namespace holds all public Cutelyst API.
Definition: Mainpage.dox:7