diff --git a/client/src/ws_wrapper.rs b/client/src/ws_wrapper.rs index 21ec475..25d6be6 100644 --- a/client/src/ws_wrapper.rs +++ b/client/src/ws_wrapper.rs @@ -194,11 +194,7 @@ impl WebSocketWrite for WebSocketWrapper { return Err(WispError::WsImplSocketClosed); } match frame.opcode { - Binary => self - .inner - .send_with_u8_array(&frame.payload) - .map_err(|_| WebSocketError::SendFailed.into()), - Text => self + Binary | Text => self .inner .send_with_u8_array(&frame.payload) .map_err(|_| WebSocketError::SendFailed.into()),