RT server and signalr

This commit is contained in:
2026-02-15 20:33:08 +01:00
parent 6d8ae9bef6
commit cc47ac3a59
13 changed files with 214 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
using Microsoft.AspNetCore.SignalR;
namespace AipsRT.Hubs;
public class TestHub : Hub
{
public async Task SendText(string text)
{
await Clients.All.SendAsync("ReceiveText", text);
}
}