9 references to _shutdown
Aspire.Cli.Tests (9)
TestServices\FakeDcpApiServer.cs (9)
65using var client = await _listener.AcceptTcpClientAsync(_shutdown.Token); 75var requestLine = await reader.ReadLineAsync(_shutdown.Token) ?? string.Empty; 78while (await reader.ReadLineAsync(_shutdown.Token) is { Length: > 0 } header) 96await reader.ReadBlockAsync(new char[contentLength], _shutdown.Token); 110await stream.WriteAsync(Encoding.ASCII.GetBytes(response), _shutdown.Token); 113catch (OperationCanceledException) when (_shutdown.IsCancellationRequested) 123await _onStopRequest(_shutdown.Token); 142await _shutdown.CancelAsync(); 150_shutdown.Dispose();