示例#1
0
 /// <summary>
 /// This method is call when a client is connected.
 /// </summary>
 /// <returns></returns>
 public override Task OnConnected()
 {
     _logger.LogInformation($"Client {Context.ConnectionId} connected");
     _mappingService.AddConnectionSubscriber(Context.ConnectionId);
     return(base.OnConnected());
 }