1 // Copyright (c) 2023 Huawei Device Co., Ltd.
2 // Licensed under the Apache License, Version 2.0 (the "License");
3 // you may not use this file except in compliance with the License.
4 // You may obtain a copy of the License at
5 //
6 //     http://www.apache.org/licenses/LICENSE-2.0
7 //
8 // Unless required by applicable law or agreed to in writing, software
9 // distributed under the License is distributed on an "AS IS" BASIS,
10 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 // See the License for the specific language governing permissions and
12 // limitations under the License.
13 
14 //! Http2 Flow Control module.
15 //!
16 //! A module that provides Flow-Control capability for the HTTP2 protocol.
17 //!
18 //! -[`FlowControl`] is used to Provides connection-level Flow-Control
19 //! capability. -[`RecvWindow`] is the structure of the client response
20 //! receiving window. -[`SendWindow`] is the structure of the client request
21 //! sending window.
22 
23 mod settings;
24 mod window;
25 
26 pub(crate) use settings::FlowControl;
27 pub(crate) use window::{RecvWindow, SendWindow};
28