聊天会话记录
This commit is contained in:
@@ -17,7 +17,6 @@ import java.util.List;
|
||||
public class WebSocketMessageDecoder extends MessageToMessageDecoder<BinaryWebSocketFrame> {
|
||||
@Override
|
||||
protected void decode(ChannelHandlerContext ctx, BinaryWebSocketFrame msg, List<Object> out) throws Exception {
|
||||
System.out.println("ws解码器收到信息");
|
||||
|
||||
ByteBuf content = msg.content();
|
||||
if (content.readableBytes() < 28) {
|
||||
|
||||
Reference in New Issue
Block a user