rsocket / rsocket-dart

Dart implementation of RSocket
Apache License 2.0
31 stars 25 forks source link

Please provide a example to Connect with Spring-Boot #14

Open janezmejias009 opened 2 years ago

janezmejias009 commented 2 years ago

I try to connect with spring boot currently have the next code:

@MessageMapping("my-balance") public Flux timestamps() { return Flux.interval(Duration.ofSeconds(1)) .map(sequence -> LocalTime.now().toString()); }

Improvement Suggestion

How I can connect with this?

sending with rsc it's work java -jar rsc.jar --debug --stream --route rep-balance tcp://192.168.0.17:7000

is posible provide a example to Connect with Spring-Boot? Thanks, I love it project!

bmd007 commented 1 year ago

I try to connect with spring boot currently have the next code:

@MessageMapping("my-balance") public Flux timestamps() { return Flux.interval(Duration.ofSeconds(1)) .map(sequence -> LocalTime.now().toString()); }

Improvement Suggestion

How I can connect with this?

sending with rsc it's work java -jar rsc.jar --debug --stream --route rep-balance tcp://192.168.0.17:7000

is posible provide a example to Connect with Spring-Boot? Thanks, I love it project!

https://stackoverflow.com/questions/73265212/how-to-route-an-rsocket-client-in-flutter/74951685#74951685