class ClientWebSocketHandler extends SimpleChannelInboundHandler<WebSocketFrame> {
@Override
protected void channelRead0(ChannelHandlerContext ctx, WebSocketFrame frame) throws Exception {
}
}
我只能接受TextWebSocketFrame
& BinaryWebSocketFrame
在channelRead0
如何在Netty 4中處理PING/PONG框架?
如何處理PingWebSocketFrame
和PongWebSocketFrame
,我想知道當客戶端發送平/傍