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