SockJS and WebSocket


WebSocket Create a simple Spring WebSocket application Add POM dependencies Add WebSocket handler In the above configuration, there is important line that is setAllowedOrigins(“*”), if we don’t have this, the WebSocket handshake request could respond with 403 request forbidden. Now I have just set up the WebSocket server. Continue, I will test it Send message … Continue reading SockJS and WebSocket