luis-moral / sample-webflux-websocket-netty

Spring Boot 3+ WebFlux Reactive WebSocket client and server
Apache License 2.0
50 stars 22 forks source link

What is the difference between this implementation of Spring webflux WebSocket and RSocket? #3

Open amazingstream opened 1 year ago

amazingstream commented 1 year ago

Hello

What is the difference between this implementation of Spring webflux WebSocket and RSocket? I am trying to implement reactive websocket in my spring boot project but I see RSocket under a separate section on the spring webflux website. thoughts?

https://docs.spring.io/spring-framework/docs/current/reference/html/web-reactive.html#rsocket

luis-moral commented 1 year ago

Hello,

WebSocket is the implementation for the WebSocket protocol RFC 6455

RSockets is an application protocol and one the transports it can use is WebSocket, but its not limited to.

You can check https://rsocket.io/ for more info, hope it helps