1 write to _stream
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
83
_stream
= stream;
24 references to _stream
System.Net.Http (24)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
618
if (stream is HttpContentStream contentStream && contentStream._connection?.
_stream
is Stream innerStream)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (23)
90
if (NetEventSource.Log.IsEnabled()) TraceConnection(
_stream
);
115
_stream
.Dispose();
146
if (!async &&
_stream
is NetworkStream networkStream)
170
_readAheadTask =
_stream
.ReadAsync(_readBuffer.AvailableMemory);
256
await
_stream
.ReadAsync(Memory<byte>.Empty).ConfigureAwait(false);
259
int read = await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false);
1574
_stream
.Write(source);
1583
return
_stream
.WriteAsync(source);
1587
_stream
.Write(source.Span);
1656
await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) :
1657
_stream
.Read(_readBuffer.AvailableSpan);
1672
await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) :
1673
_stream
.Read(_readBuffer.AvailableSpan);
1795
int count =
_stream
.Read(destination);
1816
:
_stream
.ReadAsync(destination);
1820
int count = await
_stream
.ReadAsync(destination).ConfigureAwait(false);
1837
return
_stream
.Read(Array.Empty<byte>());
1841
int bytesRead =
_stream
.Read(_readBuffer.AvailableSpan);
1875
int bytesRead = await
_stream
.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false);
1916
return
_stream
.CopyToAsync(destination, bufferSize, cancellationToken);
1919
_stream
.CopyTo(destination, bufferSize);
1932
await
_stream
.CopyToAsync(destination, bufferSize, cancellationToken).ConfigureAwait(false);
1936
_stream
.CopyTo(destination, bufferSize);