diff --git a/src/protocol/mod.rs b/src/protocol/mod.rs index 6803100..0027dcc 100644 --- a/src/protocol/mod.rs +++ b/src/protocol/mod.rs @@ -410,9 +410,7 @@ impl WebSocketContext { } self.write_pending(stream) } -} -impl WebSocketContext { /// Try to decode one message frame. May return None. fn read_message_frame(&mut self, stream: &mut Stream) -> Result> where