This commit is contained in:
Oliver Gould
2017-07-09 06:01:42 +00:00
parent 7632a016df
commit d7b82cd50b
7 changed files with 151 additions and 13 deletions

View File

@@ -32,6 +32,7 @@ mod reset;
mod settings;
mod stream_id;
mod util;
mod window_update;
pub use self::data::Data;
pub use self::go_away::GoAway;
@@ -41,6 +42,7 @@ pub use self::ping::Ping;
pub use self::reset::Reset;
pub use self::settings::{Settings, SettingSet};
pub use self::stream_id::StreamId;
pub use self::window_update::WindowUpdate;
// Re-export some constants
pub use self::settings::{
@@ -56,7 +58,8 @@ pub enum Frame {
Headers(Headers),
PushPromise(PushPromise),
Settings(Settings),
Ping(Ping)
Ping(Ping),
WindowUpdate(WindowUpdate)
}
/// Errors that can occur during parsing an HTTP/2 frame.