Open Th3Hunger opened 1 year ago
How can the server request a result from a client? as shown below
https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0#client-results
Example in C# Client:
hubConnection.On("GetMessage", async () => { Console.WriteLine("Enter message:"); var message = await Console.In.ReadLineAsync(); return message; });
How can I send results back to the server within an event?
How can the server request a result from a client? as shown below
https://learn.microsoft.com/en-us/aspnet/core/signalr/hubs?view=aspnetcore-7.0#client-results
Example in C# Client:
How can I send results back to the server within an event?