Add Codec::set_max_send_frame_size

This commit is contained in:
Carl Lerche
2017-09-05 14:01:32 -07:00
parent c2e6eb35d8
commit 0cc611df35
7 changed files with 81 additions and 25 deletions

View File

@@ -49,10 +49,6 @@ impl<T> FramedRead<T> {
}
}
pub fn apply_remote_settings(&mut self, _settings: &frame::Settings) {
// TODO: Is this needed?
}
fn decode_frame(&mut self, mut bytes: BytesMut) -> Result<Option<Frame>, RecvError> {
use self::RecvError::*;