6 references to TryReadAsStream
System.Net.Http (6)
System\Net\Http\HttpClient.cs (3)
202
using Stream responseStream = c.
TryReadAsStream
() ?? await c.ReadAsStreamAsync(cts.Token).ConfigureAwait(false);
287
using Stream responseStream = c.
TryReadAsStream
() ?? await c.ReadAsStreamAsync(cts.Token).ConfigureAwait(false);
346
return c.
TryReadAsStream
() ?? await c.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
System\Net\Http\MultipartContent.cs (1)
270
readStream = nestedContent.
TryReadAsStream
() ?? await nestedContent.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (2)
176
originalStream = _originalContent.
TryReadAsStream
() ?? await _originalContent.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
187
Stream? originalStream = _originalContent.
TryReadAsStream
();