http_box/http2/
mod.rs

1// +-----------------------------------------------------------------------------------------------+
2// | Copyright 2016 Sean Kerr                                                                      |
3// |                                                                                               |
4// | Licensed under the Apache License, Version 2.0 (the "License");                               |
5// | you may not use this file except in compliance with the License.                              |
6// | You may obtain a copy of the License at                                                       |
7// |                                                                                               |
8// |  http://www.apache.org/licenses/LICENSE-2.0                                                   |
9// |                                                                                               |
10// | Unless required by applicable law or agreed to in writing, software                           |
11// | distributed under the License is distributed on an "AS IS" BASIS,                             |
12// | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.                      |
13// | See the License for the specific language governing permissions and                           |
14// | limitations under the License.                                                                |
15// +-----------------------------------------------------------------------------------------------+
16
17//! HTTP/2.x parser, errors, traits, and types.
18
19mod error_code;
20mod flags;
21mod frame_format;
22mod frame_type;
23mod http_handler;
24mod parser;
25mod parser_state;
26mod setting;
27
28#[cfg(test)]
29mod test;
30
31pub use http2::error_code::ErrorCode;
32pub use http2::flags::Flags;
33pub use http2::frame_format::FrameFormat;
34pub use http2::frame_type::FrameType;
35pub use http2::http_handler::HttpHandler;
36pub use http2::parser::Parser;
37pub use http2::parser_state::ParserState;
38pub use http2::setting::Setting;