Wire up Trailers frame

This commit is contained in:
Carl Lerche
2017-08-02 11:34:34 -07:00
parent 33bdc057d6
commit a3cbf2d7ac
6 changed files with 50 additions and 18 deletions

View File

@@ -72,10 +72,10 @@ impl<P: Peer> Send<P> {
state.send_open(self.init_window_sz, eos)
}
pub fn send_trailers(&mut self, _state: &mut state::Stream, _eos: bool)
pub fn send_eos(&mut self, state: &mut state::Stream)
-> Result<(), ConnectionError>
{
unimplemented!();
state.send_close()
}
pub fn send_data<B: Buf>(&mut self,