mirror of
https://github.com/sphildreth/roadie
synced 2024-11-23 12:43:13 +00:00
17 lines
408 B
C#
17 lines
408 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 PlayActivityHub : Hub
|
|
{
|
|
public async Task SendActivity(PlayActivityList playActivity)
|
|
{
|
|
await Clients.All.SendAsync("PlayActivity", playActivity);
|
|
}
|
|
}
|
|
}
|