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)
592if (stream is HttpContentStream contentStream && contentStream._connection?._stream is Stream innerStream)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (23)
89if (NetEventSource.Log.IsEnabled()) TraceConnection(_stream); 114_stream.Dispose(); 145if (!async && _stream is NetworkStream networkStream) 169_readAheadTask = _stream.ReadAsync(_readBuffer.AvailableMemory); 255await _stream.ReadAsync(Memory<byte>.Empty).ConfigureAwait(false); 258int read = await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false); 1571_stream.Write(source); 1580return _stream.WriteAsync(source); 1584_stream.Write(source.Span); 1631await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) : 1632_stream.Read(_readBuffer.AvailableSpan); 1647await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) : 1648_stream.Read(_readBuffer.AvailableSpan); 1770int count = _stream.Read(destination); 1791: _stream.ReadAsync(destination); 1795int count = await _stream.ReadAsync(destination).ConfigureAwait(false); 1812return _stream.Read(Array.Empty<byte>()); 1816int bytesRead = _stream.Read(_readBuffer.AvailableSpan); 1849int bytesRead = await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false); 1890return _stream.CopyToAsync(destination, bufferSize, cancellationToken); 1893_stream.CopyTo(destination, bufferSize); 1906await _stream.CopyToAsync(destination, bufferSize, cancellationToken).ConfigureAwait(false); 1910_stream.CopyTo(destination, bufferSize);