mirror of
https://github.com/sphildreth/roadie
synced 2024-11-29 15:40:20 +00:00
18 lines
410 B
C#
18 lines
410 B
C#
|
using Microsoft.AspNetCore.SignalR;
|
|||
|
using Roadie.Library.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Roadie.Api.Hubs
|
|||
|
{
|
|||
|
public class ScanActivityHub : Hub
|
|||
|
{
|
|||
|
public async Task SendSystemActivity(string scanActivity)
|
|||
|
{
|
|||
|
await Clients.All.SendAsync("SendSystemActivity", scanActivity);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|