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// Qt-Security score:significant reason:default
4
5#ifndef QRESTREPLY_P_H
6#define QRESTREPLY_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of the Network Access API. This header file may change from
14// version to version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/private/qstringconverter_p.h>
20
21#include <optional>
22
23QT_BEGIN_NAMESPACE
24
25class QByteArray;
26class QNetworkReply;
27
28class QRestReplyPrivate
29{
30public:
31 QRestReplyPrivate();
32 ~QRestReplyPrivate();
33
34 std::optional<QStringDecoder> decoder;
35
36 static QByteArray contentCharset(const QNetworkReply *reply);
37};
38
39QT_END_NAMESPACE
40
41#endif
42

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