1 instantiation of BrowserConnection
Microsoft.DotNet.HotReload.Watch (1)
AbstractBrowserRefreshServer.cs (1)
112var connection = new BrowserConnection(clientSocket, sharedSecret, loggerFactory);
15 references to BrowserConnection
Microsoft.DotNet.HotReload.Watch (15)
AbstractBrowserRefreshServer.cs (10)
34private readonly List<BrowserConnection> _activeConnections = []; 44BrowserConnection[] connectionsToDispose; 51foreach (var connection in connectionsToDispose) 108protected BrowserConnection OnBrowserConnected(WebSocket clientSocket, string? subProtocol) 112var connection = new BrowserConnection(clientSocket, sharedSecret, loggerFactory); 180private IReadOnlyCollection<BrowserConnection> GetOpenBrowserConnections() 190List<BrowserConnection>? lazyConnectionsToDispose = null; 197var connection = _activeConnections[i]; 214foreach (var connection in lazyConnectionsToDispose) 253foreach (var connection in openConnections)
BrowserConnection.cs (2)
17public const string ServerLogComponentName = $"{nameof(BrowserConnection)}:Server"; 18public const string AgentLogComponentName = $"{nameof(BrowserConnection)}:Agent";
BrowserRefreshServer.cs (1)
146var connection = OnBrowserConnected(clientSocket, subProtocol);
UI\IReporter.cs (2)
177.Add(BrowserConnection.AgentLogComponentName, Emoji.Agent) 178.Add(BrowserConnection.ServerLogComponentName, Emoji.Browser)