Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am running into an issue when using
InvokeAsync
to stream data from a server to a client via aChannelReader
, where it is failing withHubException: Client failed to parse Argument(s)
I have a minimal repro here: https://github.com/bbartels/SignalRTest/tree/main
I couldn't find any docs specifically around my scenario. I have also previously tried to just use
SendDataAsync
with aChannelReader
more closely aligned with the scenarios in the docs: https://learn.microsoft.com/en-us/aspnet/core/signalr/streaming?view=aspnetcore-8.0, but didn't get anywhere either. While it didn't fail with an exception, it just did not invoke the handler.In case it is relevant, what I want to achieve is a call to a single SignalR clients, stream some data to them, let them do some processing and stream some data back.
InvokeAsync
seems to suit itself well as it allows you to return a response. I am not sure ifChannelReader
is allowed to be returned fromInvokeAsync
.Beta Was this translation helpful? Give feedback.
All reactions