15 references to ReadAsStreamAsync
Aspire.Hosting (1)
Dcp\DcpKubernetesClient.cs (1)
77Body = await httpResponse.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false)
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
370var errorContentStream = await response.Content.ReadAsStreamAsync(Context.RequestAborted);
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
186using (var responseStream = await responseMessage.Content.ReadAsStreamAsync(cancellationToken))
Microsoft.Build.Tasks.Core (1)
DownloadFile.cs (1)
205using (Stream responseStream = await response.Content.ReadAsStreamAsync(
Microsoft.DotNet.Build.Tasks.Feed (1)
src\PublishArtifactsInManifestBase.cs (1)
982using var stream = await response.Content.ReadAsStreamAsync(timeoutTokenSource.Token);
Microsoft.DotNet.Internal.SymbolHelper (2)
SymbolPromotionHelper.cs (1)
217Stream result = await statusResponse.Content.ReadAsStreamAsync(ct);
SymbolUploadHelperFactory.cs (1)
160using (Stream zipStream = await response.Content.ReadAsStreamAsync(token).ConfigureAwait(false))
System.Net.Http (7)
System\Net\Http\HttpClient.cs (3)
202using Stream responseStream = c.TryReadAsStream() ?? await c.ReadAsStreamAsync(cts.Token).ConfigureAwait(false); 287using Stream responseStream = c.TryReadAsStream() ?? await c.ReadAsStreamAsync(cts.Token).ConfigureAwait(false); 346return c.TryReadAsStream() ?? await c.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
System\Net\Http\HttpContent.cs (1)
272ReadAsStreamAsync(CancellationToken.None);
System\Net\Http\HttpProtocolException.cs (1)
16/// <see cref="HttpContent.ReadAsStreamAsync(Threading.CancellationToken)"/>, <see cref="HttpProtocolException"/> can be thrown directly.
System\Net\Http\MultipartContent.cs (1)
270readStream = nestedContent.TryReadAsStream() ?? await nestedContent.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (1)
176originalStream = _originalContent.TryReadAsStream() ?? await _originalContent.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
System.Net.Http.Json (1)
System\Net\Http\Json\HttpContentJsonExtensions.netcoreapp.cs (1)
15return content.ReadAsStreamAsync(cancellationToken);