I am trying to create basic WebSocket server with this library. I want to make a toast message when a message is received. In onMessage() function below I have implemented that. But no toast message is happening. But Received message is printed on console. Answer I think you have to switch to the UI thread to show the Toast. You
Tag: java-websocket
prevent org.springframework.messaging.MessagingException print stack trace
i am currently writing a websocket project using spring boot. And i have a websocket authentication config as this: @EnableWebSocketMessageBroker @Order(Ordered.HIGHEST_PRECEDENCE + 99) public class …