More send flow control

This commit is contained in:
Carl Lerche
2017-08-09 14:37:41 -07:00
parent a8c8cdb8e9
commit 95bb95af01
4 changed files with 43 additions and 17 deletions

View File

@@ -50,10 +50,12 @@ impl<B> Stream<B> {
}
}
// TODO: remove?
pub fn send_flow_control(&mut self) -> Option<&mut FlowControl> {
self.state.send_flow_control()
}
// TODO: remove?
pub fn recv_flow_control(&mut self) -> Option<&mut FlowControl> {
self.state.recv_flow_control()
}