RobotApp/RobotApp/Hubs/RobotMonitorHub.cs
Đăng Nguyễn 062a6478ce update
2025-12-20 17:37:22 +07:00

13 lines
278 B
C#

using Microsoft.AspNetCore.SignalR;
namespace RobotApp.Hubs;
public class RobotMonitorHub : Hub
{
public async Task SendRobotMonitorData(RobotApp.Common.Shares.Dtos.RobotMonitorDto data)
{
await Clients.All.SendAsync("ReceiveRobotMonitorData", data);
}
}