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
qhttp2configuration_p.h
Go to the documentation of this file.
1
// Copyright (C) 2026 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
QHTTP2CONFIGURATION_P_H
6
#
define
QHTTP2CONFIGURATION_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
<
private
/
http2protocol_p
.
h
>
20
#
include
<
private
/
qhttpheaderparser_p
.
h
>
21
#
include
<
private
/
qtnetworkglobal_p
.
h
>
22
23
#
include
<
QtNetwork
/
qhttp2configuration
.
h
>
24
25
#
include
<
QtCore
/
qshareddata
.
h
>
26
27
QT_BEGIN_NAMESPACE
28
29
class
QHttp2ConfigurationPrivate :
public
QSharedData
30
{
31
public
:
32
unsigned
sessionWindowSize = Http2::defaultSessionWindowSize;
33
unsigned
streamWindowSize = Http2::defaultSessionWindowSize;
34
35
unsigned
maxFrameSize = Http2::minPayloadLimit;
// Initial (default) value of 16Kb.
36
37
unsigned
maxConcurrentStreams = Http2::maxConcurrentStreams;
38
39
quint32 maxHeaderListSize = HeaderConstants::DEFAULT_MAX_TOTAL_HEADER_SIZE;
// 256 KiB
40
41
bool
pushEnabled =
false
;
42
// TODO: for now those two below are noop.
43
bool
huffmanCompressionEnabled =
true
;
44
45
static
QHttp2ConfigurationPrivate *get(QHttp2Configuration &config) {
return
config.d.data(); }
46
static
const
QHttp2ConfigurationPrivate *get(
const
QHttp2Configuration &config)
47
{
48
return
config.d.data();
49
}
50
};
51
52
QT_END_NAMESPACE
53
54
#
endif
// QHTTP2CONFIGURATION_P_H
QHttp2Configuration
The QHttp2Configuration class controls HTTP/2 parameters and settings.
Definition
qhttp2configuration.h:18
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(liburing)
qtbase
src
network
access
qhttp2configuration_p.h
Generated on
for Qt by
1.18.0