1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
use crateVarInt;
//= https://www.rfc-editor.org/rfc/rfc9000#section-19.13
//# This frame is analogous to DATA_BLOCKED (Section 19.12).
//= https://www.rfc-editor.org/rfc/rfc9000#section-19.13
//# STREAM_DATA_BLOCKED Frame {
//# Type (i) = 0x15,
//# Stream ID (i),
//# Maximum Stream Data (i),
//# }
//= https://www.rfc-editor.org/rfc/rfc9000#section-19.13
//# STREAM_DATA_BLOCKED frames contain the following fields:
//#
//# Stream ID: A variable-length integer indicating the stream that is
//# blocked due to flow control.
//#
//# Maximum Stream Data: A variable-length integer indicating the offset
//# of the stream at which the blocking occurred.
simple_frame_codec!;