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