mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
14 lines
No EOL
413 B
C#
14 lines
No EOL
413 B
C#
using Microsoft.AspNetCore.SignalR;
|
|
using Roadie.Library.Models;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Roadie.Api.Hubs
|
|
{
|
|
public class PlayActivityHub : Hub
|
|
{
|
|
public Task SendActivityAsync(PlayActivityList playActivity, System.Threading.CancellationToken cancellationToken)
|
|
{
|
|
return Clients.All.SendAsync("PlayActivity", playActivity, cancellationToken);
|
|
}
|
|
}
|
|
} |