Join Slack
Powered by
<How to use websocket in Netty to make correspondi...
# stackoverflow
r
rss
07/18/2023, 2:11 AM
How to use websocket in Netty to make corresponding processing according to the routing address?
I have two routing addresses, and I want to handle these two routings separately, but I haven't found an entry point. For example, there are two routing paths:
ws://192.168.101.7:8088/article/upload
ws://192.168.101.7:8088/user/upload
server code: try { val serverBootstrap = ServerBootstrap() serverBootstrap.group(bossGroup, workerGroup) .channel(NioServerSocketChannel::class.java) .childHandler(articleUploadHandler) .childHandler(hotHubUploadChannelHandler)...
3
Views
Open in Slack
Previous
Next