Open cnsgcu opened 9 years ago
You can use JSR-356 WebSockets through the Web Actors API http://docs.paralleluniverse.co/comsat/#web-actors. The relevant artifacts are comsat-actors-api
and comsat-actors-servlet
.
@cnsgcu Is this adequate to your needs?
Thanks @circlespainter, is there a fiber API that is similar the one used in REST controller's resource methods? For example, I just annotate my @ServerEndpoint with @Suspendable and then my endpoint will handle all coming WS requests in a fiber.
Not at this stage, currently you can use fibers to handle websockets only through Web Actors. I'll leave the issue open as a feature request.
Thanks @circlespainter. Looking forward to this feature. Great work on fiber.
Thanks for your interest and appreciation, stay tuned!
Is there an artifact for WebSocket API in JSR-356?