mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-02-07 08:15:02 +00:00
12 lines
358 B
C#
12 lines
358 B
C#
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);
|
|
}
|
|
}
|
|
} |