/springboot-websocket

Ejemplo de springboot-websocket

Primary LanguageJava

springboot-websocket

Ejemplo de springboot-websocket

  1. git clone https://github.com/arellano-gustavo/springboot-websocket.git
  2. cd springboot-websocket
  3. mvn -U clean package
  4. java -jar target/springboot-websocket-1.0-SNAPSHOT.jar
  5. Go to: http://localhost:8080/user in different browsers (Chrome, Safari, Firefox, etc) simultaneously and start a session in every one of them.
  6. Send different texts in every browser
  7. Check that every other browser is getting the other's text
  8. Check that every 2 minutes a message is broadcasted to every browser

Happy coding !!!!