httpRequestHandler, server sent events or websockets

Afternoon,

I have some httpRequestHandlers. I wanted to use websockets but didn't have time to write the server-side properly so I just embedded Ratpack and fired it up on a spare port.

That works fine, but now I have time to do this properly I want to get rid of ratpack. I can use Server Sent Events rather than websockets if it that's easier with the existing platform.

I am looking for any pointers - ideally someone has done something like this and can point me to the code?

If not - should I be looking at extending org.jetbrains.ide.HttpRequestHandler - previously I extended RestService. Can I reuse anything from org.jetbrains.io.Responses, or should I be looking at doing the netty internals stuff myself?

0

Please sign in to leave a comment.