Files
podnoms/server/Services/Hubs/DebugHub.cs
Fergal Moran 1a92ad80eb Feature switch
2018-03-14 10:50:57 +00:00

12 lines
358 B
C#
Executable File

using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
namespace PodNoms.Api.Services.Hubs {
[Authorize (AuthenticationSchemes = "Bearer")]
public class DebugHub : Hub {
public async Task Send (string message) {
await Clients.All.SendAsync ("Send", message);
}
}
}