resets too

This commit is contained in:
Oliver Gould
2017-07-17 08:18:38 +00:00
parent 76cb8e15fd
commit fb4f0bc5af
16 changed files with 296 additions and 91 deletions

View File

@@ -34,7 +34,7 @@ pub mod server;
mod util;
pub use error::ConnectionError;
pub use error::{ConnectionError, Reason};
pub use frame::{StreamId};
pub use proto::Connection;
@@ -63,9 +63,9 @@ pub enum Frame<T, B = Bytes> {
id: StreamId,
promise: (),
},
Error {
Reset {
id: StreamId,
error: (),
error: Reason,
},
}