jamiewest / signalr_core

ASP.NET Core SignalR Dart Client
https://pub.dev/packages/signalr_core
MIT License
91 stars 58 forks source link

Client-to-server streaming #56

Closed ashyr-tm closed 7 months ago

ashyr-tm commented 3 years ago

Hi guys. I want to use stream over a socket, and I found how to receive via the stream using the connection.stream() method, but I could not find how to send via the stream.

I need a method similar to the one used in Javascript.

const subject = new signalR.Subject(); yield connection.send("UploadStream", subject); https://docs.microsoft.com/en-us/aspnet/core/signalr/streaming?view=aspnetcore-5.0#javascript-client

I will be glad for your help

bretbas commented 3 years ago

I also want to know how to do it