Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qrestreply_p.h
Go to the documentation of this file.
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
23
QT_BEGIN_NAMESPACE
24
25
class
QByteArray;
26
class
QNetworkReply;
27
28
class
QRestReplyPrivate
29
{
30
public
:
31
QRestReplyPrivate
();
32
~
QRestReplyPrivate
();
33
34
std
::
optional
<
QStringDecoder
>
decoder
;
35
36
static
QByteArray
contentCharset
(
const
QNetworkReply *reply);
37
};
38
39
QT_END_NAMESPACE
40
41
#
endif
QByteArray::FromBase64Result
\inmodule QtCore
Definition
qbytearray.h:824
QRestReplyPrivate
Definition
qrestreply_p.h:29
QRestReplyPrivate::decoder
std::optional< QStringDecoder > decoder
Definition
qrestreply_p.h:34
QRestReplyPrivate::contentCharset
static QByteArray contentCharset(const QNetworkReply *reply)
Definition
qrestreply.cpp:344
QRestReplyPrivate::~QRestReplyPrivate
~QRestReplyPrivate()
QRestReplyPrivate::QRestReplyPrivate
QRestReplyPrivate()
QRestReply
QRestReply is a convenience wrapper for QNetworkReply.
Definition
qrestreply.h:25
QRestReply::httpStatus
Q_NETWORK_EXPORT int httpStatus() const
Returns the HTTP status received in the server response.
Definition
qrestreply.cpp:209
QRestReply::isHttpStatusSuccess
Q_NETWORK_EXPORT bool isHttpStatusSuccess() const
Returns whether the HTTP status is between 200..299.
Definition
qrestreply.cpp:230
QRestReply::hasError
Q_NETWORK_EXPORT bool hasError() const
Returns whether an error has occurred.
Definition
qrestreply.cpp:245
QRestReply::~QRestReply
Q_NETWORK_EXPORT ~QRestReply()
Destroys this QRestReply object.
Definition
qrestreply.cpp:61
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
operationName
static QLatin1StringView operationName(QNetworkAccessManager::Operation operation)
Definition
qrestreply.cpp:292
qtbase
src
network
access
qrestreply_p.h
Generated on
for Qt by
1.18.0