netty学习:基于WebSocket协议开发服务端及客户端,实现双向通信
学习过程中有参考Redisson和RocketMq对于netty的使用一、服务端1、启动类 @Autowired private WebsocketProperties properties; @Autowired private WebSocketChannelInitializer webSocketChannelInitializer; NioEventLoopGroup bossGroup = new NioEventLoopGroup();