Skip to content

Tag: websocket

Jetty Websocket Authentication

I play the Jetty Websocket use example here : https://github.com/jetty-project/embedded-jetty-websocket-examples (i use native-jetty-websocket-example) I just move from websocketpp (C++) to Java Jetty Websocket and i just wonder is there any way for me to authen the connection before the connection move to th…

Clean shutdown of Spring WebSockets STOMP client

A Spring WebSocket STOMP client sends a long to Spring WebSocket STOMP server that immediately returns the same value. When the client completes sending, it exits its main thread and the client terminates as expected. If I enable STOMP heartbeats: the client no longer exits the JVM when the client’s mai…