6 references to CreateConnection
Aspire.Hosting.Browsers.Tests (6)
BrowserLogsCdpConnectionTests.cs (5)
215
await using var firstConnection = multiplexer.
CreateConnection
(protocolEvent =>
220
await using var secondConnection = multiplexer.
CreateConnection
(protocolEvent =>
259
await using var failingConnection = multiplexer.
CreateConnection
(_ => throw new InvalidOperationException("boom"));
261
await using var survivingConnection = multiplexer.
CreateConnection
(protocolEvent =>
292
var exception = Assert.Throws<InvalidOperationException>(() => multiplexer.
CreateConnection
(static _ => ValueTask.CompletedTask));
src\Aspire.Hosting.Browsers\BrowserHost.cs (1)
117
return Task.FromResult(_connectionMultiplexer.
CreateConnection
(eventHandler));