closer to flow control

This commit is contained in:
Oliver Gould
2017-07-12 21:04:58 +00:00
parent b9f3556070
commit 41ffd1d44f
11 changed files with 337 additions and 179 deletions

View File

@@ -51,6 +51,8 @@ pub enum Frame<T, B = Bytes> {
Data {
id: StreamId,
data: B,
/// TODO figure out how to make this a requirement on `B`
data_len: usize,
end_of_stream: bool,
},
Trailers {