2021-11-10 21:43:45 +01:00

13 lines
270 B
C#

using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
namespace Todo.Api.Hubs
{
public class TodoHub : Hub
{
public async Task GetInboxTodos()
{
await Clients.Caller.SendAsync("InboxTodos", "some data");
}
}
}