SignalR-Client-Swift icon indicating copy to clipboard operation
SignalR-Client-Swift copied to clipboard

Client to Server Streaming

Open exxoscott opened this issue 5 years ago • 8 comments

Hello,

I am sorry if this is obvious to the highly skilled, of which I am not. I am also sorry if this is not the most appropriate place to ask this.

We are using signalR in a React front-end to stream data from the client to the server, and that works nicely - in working on the native iOS app, and with this wrapper specifically, I am not entirely sure how to do the same. In the JS client library, you create a Subject object and pass it as an argument to in a connection.send() call, then you call .next() on the subject object to stream chunks of data across.

I cannot find an equivalent with this library, and it seems the .stream call is intended for server to client streaming as best I can tell.

Might this be possible with SignalR-Client-Swift?

Thanks.

-Scott

exxoscott avatar Nov 18 '20 03:11 exxoscott

Unfortunately, client-to-server streaming is currently not supported by this client.

moozzyk avatar Nov 18 '20 04:11 moozzyk