diff --git a/Api/SignalR/WeatherUpdateHub.cs b/Api/SignalR/WeatherUpdateHub.cs index aeedd07..4c8e9d8 100644 --- a/Api/SignalR/WeatherUpdateHub.cs +++ b/Api/SignalR/WeatherUpdateHub.cs @@ -10,5 +10,11 @@ namespace Api.SignalR // Broadcast the message to all connected clients. await Clients.All.SendAsync("ReceiveMessage", user, message); } + + public async Task SendProgressUpdate(string message) + { + // Send a message to the caller. + await Clients.Caller.SendAsync("ProgressUpdate", message); + } } } \ No newline at end of file