Skip to content

Please add documentation and examples on reactive WebSockets [SPR-15700] #18762

@spring-projects-issues

Description

@spring-projects-issues

Mikhail Konovalov opened SPR-15700 and commented

The only lines in docs now

On the client side create a WebSocketClient for one of the supported libraries listed above:

WebSocketClient client = new ReactorNettyWebSocketClient();
client.execute("ws://localhost:8080/echo"), session -> ...).blockMillis(5000);

And that's it.
I think it's definitely not enough.
Here are more examples for JS client on the internet ando absolutely no for server-to-server interaction.
I'd like to get more on how to authorize, how to manipulate messages, if messages in json how to add marshaller and so on.
I beleive we need to add slightly more complicated example than simple echo.

Thank you in advance.


Affects: 5.0 RC2

This issue is a sub-task of #19715

Referenced from: commits 536e72c, 0dd31b8

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions