1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QRESTREPLY_P_H
5#define QRESTREPLY_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 the Network Access API. This header file may change from
13// version to version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/private/qstringconverter_p.h>
19
20#include <optional>
21
22QT_BEGIN_NAMESPACE
23
24class QByteArray;
25class QNetworkReply;
26
27class QRestReplyPrivate
28{
29public:
30 QRestReplyPrivate();
31 ~QRestReplyPrivate();
32
33 std::optional<QStringDecoder> decoder;
34
35 static QByteArray contentCharset(const QNetworkReply *reply);
36};
37
38QT_END_NAMESPACE
39
40#endif
41

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtbase/src/network/access/qrestreply_p.h