-
Notifications
You must be signed in to change notification settings - Fork 323
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
Websocket support #125
Comments
is there any update on this? |
Here's a separate branch with web-sockets beta support in Node.js and Java: https://github.com/mar0x/unit/tree/websocket For Node.js instead of:
you have to use:
|
@VBart is there a way to use WebSocket in a Java-based app? If yes, how? I mean this https://coderwall.com/p/dahxya/implement-websocket-in-a-java-servlet works with Tomcat would it work with Unit also? |
@cyberquarks Yes, there is a way to use WebSocket in Java-based app. Our implementation is based on Java API for WebSocket. Your sample is Tomcat-specific and will not work. You may use other Tomcat WebSocket examples as a starting point. |
Duplicate with #385 |
It would be fantastic if NGINX Unit supported management of websocket connections supervised by language runtimes, as suggested in #124, and previously confirmed in #6 (comment). This is something hard to do correctly and efficiently in language runtimes themselves, and is a very compelling feature for a high performance application server. (I've opened this issue independently to keep track of interest in the feature.)
The text was updated successfully, but these errors were encountered: