<How to use websocket in Netty to make correspondi...
# stackoverflow
r
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)...