Spring 5 : Spring Boot WebFlux WebSocket | Code Factory

Reference Link : Link

Donate : Link

Spring webflux which support websocket connection between a client and server.

A websocket is a bi-directional, full-duplex, persistent connection between a web browser and a server. Once the connection is established, it stays open until the client or server decides to close this connection. Websockets have practical use in applications where multiple users connects with each other and send and receive messages e.g. chat applications.

pom.xml

Spring5WebfluxWebsocketApplication.java

EchoHandler.java

app.js

index.html