private HmrClient RegisterClient(HttpContext context)
 {
     var client = new HmrClient(context);
     _clients.Add(client);
     _logger.LogInformation("Client [{0}] connected", client.Description);
     return client;
 }
Beispiel #2
0
        private HmrClient RegisterClient(HttpContext context)
        {
            var client = new HmrClient(context);

            _clients.Add(client);
            _logger.LogInformation("Client [{0}] connected", client.Description);
            return(client);
        }
Beispiel #3
0
 private void UnregisterClient(HmrClient client)
 {
     _clients.Remove(client);
     _logger.LogInformation("Client [{0}] disconnected", client.Description);
 }