C
C#16mo ago
Shiv

❔ Real time communication

Hi Team, Need your input please. We have an app (Flutter) and .net core backend API . We need some real time communication kind of thing like User selects some Options in conversationalUI in the app, we need to keep updating the db, I thing Rest API is not correct to use here... Can you suggest what might fit in here.. SignalR / MQTT/ gRPC .. ??
7 Replies
Angius
Angius16mo ago
SignalR It's the real-time communication thing for .NET And I can see there's a library for Dart that adds SignalR support
Denis
Denis16mo ago
Or gRPC
Shiv
ShivOP16mo ago
Oh Ok ..Thank you..Can we send the message to a particular user? Can we map our DB UserID to SignalR User Id ... Or how do we identify the user..?
Denis
Denis16mo ago
Client apps will send and recieve messages to and from the server When connecting to said server, the client apps will state their id
sneezey
sneezey16mo ago
the client apps will state their id
well technically, they should give an auth token that the server knows about, connecting that to their user id
Denis
Denis16mo ago
When a client attempts to connect to a different client, the server will route the message to the correct recipient Yes. I've oversimplified a bit too much. Thanks for clarifying
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server