5 references to ReadWatchMessage
Aspire.Tray.Tests (5)
CliProtocolTests.cs (4)
84
Assert.Throws<JsonException>(() => CliProtocol.
ReadWatchMessage
(json));
96
Assert.Throws<CliProtocolException>(() => CliProtocol.
ReadWatchMessage
(json));
110
var message = CliProtocol.
ReadWatchMessage
("""{"version":1,"type":"error","errorCode":"discovery_failed"}""");
190
private static AppHostSnapshot Parse(string json) => CliProtocol.ReadSnapshot(CliProtocol.
ReadWatchMessage
(json));
src\Aspire.Tray\Common\CliAppHostClient.cs (1)
118
var message = CliProtocol.
ReadWatchMessage
(line);