예제 #1
0
 public void Send(SignalRCommand command)
 {
     //RunWebSockets(command.Message).GetAwaiter().GetResult();
 }
예제 #2
0
        public IActionResult Socket([FromBody] SignalRCommand inputModel)
        {
            var jobId = BackgroundJob.Enqueue <ISignalRNotificationCommand>(x => x.Send(inputModel));

            return(Ok(jobId));
        }