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)
592
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);
1571
_stream
.Write(source);
1580
return
_stream
.WriteAsync(source);
1584
_stream
.Write(source.Span);
1631
await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) :
1632
_stream
.Read(_readBuffer.AvailableSpan);
1647
await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) :
1648
_stream
.Read(_readBuffer.AvailableSpan);
1770
int count =
_stream
.Read(destination);
1791
:
_stream
.ReadAsync(destination);
1795
int count = await
_stream
.ReadAsync(destination).ConfigureAwait(false);
1812
return
_stream
.Read(Array.Empty<byte>());
1816
int bytesRead =
_stream
.Read(_readBuffer.AvailableSpan);
1849
int bytesRead = await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false);
1890
return
_stream
.CopyToAsync(destination, bufferSize, cancellationToken);
1893
_stream
.CopyTo(destination, bufferSize);
1906
await
_stream
.CopyToAsync(destination, bufferSize, cancellationToken).ConfigureAwait(false);
1910
_stream
.CopyTo(destination, bufferSize);