can you not add websockets to the netty server? (...
# server
s
can you not add websockets to the netty server? (I forgor to reply to the message above in a thread)
a
You can. Netty is just terrible at explaining how to do anything. Http4k has a plugin that adds WS support through Netty, so you can either use that, or use its adapter as a starting point. https://github.com/http4k/http4k/tree/master/http4k-server/netty/src/main/kotlin/org/http4k/server
h
Ah yeah thats much more neat. And the adaptor has some nice extra functionality Thanks both!
a
Ah sorry, I misread and thought solonovamax's comment was an original question. My example showed how to make a WS server with Netty, but it seems like you want to make a client? I'm not sure what exactly you're trying to do, because you already seem to have a client, but it seems like I was able to help anyway, so 👍 . If you need any more help, you can try adding some clarification.