Example #1
0
 public override Task OnDisconnectedAsync(Exception exception)
 {
     logger.Information(exception, $"Client {Context.ConnectionId} disconnected");
     distributionService.StopStream(Context.ConnectionId);
     return(base.OnDisconnectedAsync(exception));
 }