rickbeerendonk_aspnet-examples/15 - SignalR/a. Server [WIP]/ChatHub.cs
using Microsoft.AspNetCore.SignalR;

namespace Server.Hubs;

public class ChatHub : Hub
{
    public async Task SendMessage(string user, string message)
    {
        await Clients.All.SendAsync("ReceiveMessage", user, message);
    }
}
