You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
338 B

  1. using Microsoft.AspNetCore.SignalR;
  2. using System.Threading.Tasks;
  3. namespace JT808.Gateway.SimpleQueueNotification.Hubs
  4. {
  5. public class JT808MsgHub : Hub
  6. {
  7. public Task ReceiveMessage(string token, string msg)
  8. {
  9. Clients.Caller.SendAsync("ReceiveMessage", token, "Heartbeat");
  10. return Task.CompletedTask;
  11. }
  12. }
  13. }