Netty and SSL websocket client

后端 未结 1 815
日久生厌
日久生厌 2021-01-28 02:08

I\'m struggling with Netty 4.0.8 Websocket client example and SSL and I can\'t seem to be able to send data to the Netty SSL websocket server example. Although there have been m

相关标签:
1条回答
  • 2021-01-28 02:30

    I seem to have found a solution to my own question. The sample code on the client uses the channel.write() method, which seems not to send the messages to the Websocket ssl server. By using the channel.writeAndFlush() instead, messages are correctly sent to the server.

    0 讨论(0)
提交回复
热议问题