1 write to _rpc
Aspire.Hosting.RemoteHost.Tests (1)
TestServices\IntegrationHostProcessFixture.cs (1)
388_rpc = new JsonRpc(new HeaderDelimitedMessageHandler(stream, stream, new SystemTextJsonFormatter()));
6 references to _rpc
Aspire.Hosting.RemoteHost.Tests (6)
TestServices\IntegrationHostProcessFixture.cs (6)
365while (_rpc is null) 389_rpc.StartListening(); 398Assert.True(await _rpc.InvokeWithCancellationAsync<bool>("authenticate", ["lifetime-test-token"], timeout.Token)); 399await _rpc.InvokeWithCancellationAsync<JsonElement>("getCapabilities", [], timeout.Token); 403=> (_rpc ?? throw new InvalidOperationException("Wait for server readiness before invoking.")) 505_rpc?.Dispose();