1 instantiation of ReceivedCommand
Aspire.Hosting.Browsers.Tests (1)
BrowserLogsCdpConnectionTests.cs (1)
331
return new
ReceivedCommand
(id, method, sessionId, targetId, url, format, fromSurface);
9 references to ReceivedCommand
Aspire.Hosting.Browsers.Tests (9)
BrowserLogsCdpConnectionTests.cs (9)
56
var
firstCommand = await ReceiveCommandAsync(pair.ServerSocket).DefaultTimeout();
57
var
secondCommand = await ReceiveCommandAsync(pair.ServerSocket).DefaultTimeout();
58
var
createTargetCommand = Assert.Single(new[] { firstCommand, secondCommand }, static command => command.Method == BrowserLogsCdpProtocol.TargetCreateTargetMethod);
59
var
attachToTargetCommand = Assert.Single(new[] { firstCommand, secondCommand }, static command => command.Method == BrowserLogsCdpProtocol.TargetAttachToTargetMethod);
126
var
command = await ReceiveCommandAsync(pair.ServerSocket).DefaultTimeout();
168
var
command = ParseReceivedCommand(await ReceiveNullTerminatedFrameAsync(browserRead).DefaultTimeout());
296
private static async Task<
ReceivedCommand
> ReceiveCommandAsync(WebSocket socket)
302
private static
ReceivedCommand
ParseReceivedCommand(byte[] json)
308
private static
ReceivedCommand
ParseReceivedCommand(JsonElement root)