You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type 'RequestFNFFrame' is not a subtype of type 'RequestStreamFrame' in type cast
#0 RSocketRequester.receiveFrame (package:rsocket/core/rsocket_requester.dart:290:40)
#1 RSocketRequester.receiveChunk (package:rsocket/core/rsocket_requester.dart:205:9)
Steps to Reproduce
Dart Client (Responder) :
List<int> list ='this is client response!'.codeUnits;
Uint8List data =Uint8List.fromList(list);
RSocketConnector connector =RSocketConnector.create().acceptor(requestStreamAcceptor((payload) {
List<Payload> randomPayloadList = [Payload.from(null, data)];
returnStream.fromIterable(randomPayloadList);
}));
var rsocket =await connector.connect("ws://localhost:7000/rsocket");
Spring Server (Requester):
rsocketRequester.route("").data("this is server reqeust!")
.retrieveFlux(String.class).subscribe((v) -> {
System.out.println(v);
});
Expected Behavior
Should receive message stream from dart client
Actual Behavior
Received error :
Steps to Reproduce
Dart Client (Responder) :
Spring Server (Requester):
Possible Solution
rsocket-dart/lib/frame/frame.dart
Lines 40 to 42 in f31cc6e
should be replaced with :
The text was updated successfully, but these errors were encountered: