Files
DiunaBI/DiunaBI.API/Hubs/EntityChangeHub.cs

16 lines
530 B
C#
Raw Normal View History

2025-12-05 23:17:02 +01:00
using Microsoft.AspNetCore.Authorization;
2025-12-04 22:20:00 +01:00
using Microsoft.AspNetCore.SignalR;
namespace DiunaBI.API.Hubs;
2025-12-05 23:17:02 +01:00
/// <summary>
/// SignalR hub for broadcasting entity change notifications to authenticated clients.
/// Clients can only listen - broadcasting is done server-side by EntityChangeInterceptor.
/// </summary>
[Authorize]
2025-12-04 22:20:00 +01:00
public class EntityChangeHub : Hub
{
2025-12-05 23:17:02 +01:00
// No public methods - clients can only listen for "EntityChanged" events
// Broadcasting is handled server-side by EntityChangeInterceptor via IHubContext
2025-12-04 22:20:00 +01:00
}