Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fiber-enabled WebSocket JSR-356 API #24

Open
cnsgcu opened this issue Jan 30, 2015 · 6 comments
Open

Fiber-enabled WebSocket JSR-356 API #24

cnsgcu opened this issue Jan 30, 2015 · 6 comments

Comments

@cnsgcu
Copy link

cnsgcu commented Jan 30, 2015

Is there an artifact for WebSocket API in JSR-356?

@circlespainter
Copy link
Member

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.

@circlespainter
Copy link
Member

@cnsgcu Is this adequate to your needs?

@cnsgcu
Copy link
Author

cnsgcu commented Jan 30, 2015

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.

@circlespainter
Copy link
Member

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.

@circlespainter circlespainter changed the title WebSocket JSR-356 Fiber-enabled WebSocket JSR-356 API Jan 30, 2015
@cnsgcu
Copy link
Author

cnsgcu commented Jan 30, 2015

Thanks @circlespainter. Looking forward to this feature. Great work on fiber.

@circlespainter
Copy link
Member

Thanks for your interest and appreciation, stay tuned!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants