1 write to _stream
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
82
_stream
= stream;
24 references to _stream
System.Net.Http (24)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
607
if (stream is HttpContentStream contentStream && contentStream._connection?.
_stream
is Stream innerStream)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (23)
89
if (NetEventSource.Log.IsEnabled()) TraceConnection(
_stream
);
114
_stream
.Dispose();
145
if (!async &&
_stream
is NetworkStream networkStream)
169
_readAheadTask =
_stream
.ReadAsync(_readBuffer.AvailableMemory);
255
await
_stream
.ReadAsync(Memory<byte>.Empty).ConfigureAwait(false);
258
int read = await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false);
1569
_stream
.Write(source);
1578
return
_stream
.WriteAsync(source);
1582
_stream
.Write(source.Span);
1629
await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) :
1630
_stream
.Read(_readBuffer.AvailableSpan);
1645
await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) :
1646
_stream
.Read(_readBuffer.AvailableSpan);
1768
int count =
_stream
.Read(destination);
1789
:
_stream
.ReadAsync(destination);
1793
int count = await
_stream
.ReadAsync(destination).ConfigureAwait(false);
1810
return
_stream
.Read(Array.Empty<byte>());
1814
int bytesRead =
_stream
.Read(_readBuffer.AvailableSpan);
1847
int bytesRead = await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false);
1888
return
_stream
.CopyToAsync(destination, bufferSize, cancellationToken);
1891
_stream
.CopyTo(destination, bufferSize);
1904
await
_stream
.CopyToAsync(destination, bufferSize, cancellationToken).ConfigureAwait(false);
1908
_stream
.CopyTo(destination, bufferSize);