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)
607if (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); 1569_stream.Write(source); 1578return _stream.WriteAsync(source); 1582_stream.Write(source.Span); 1629await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) : 1630_stream.Read(_readBuffer.AvailableSpan); 1645await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false) : 1646_stream.Read(_readBuffer.AvailableSpan); 1768int count = _stream.Read(destination); 1789: _stream.ReadAsync(destination); 1793int count = await _stream.ReadAsync(destination).ConfigureAwait(false); 1810return _stream.Read(Array.Empty<byte>()); 1814int bytesRead = _stream.Read(_readBuffer.AvailableSpan); 1847int bytesRead = await _stream.ReadAsync(_readBuffer.AvailableMemory).ConfigureAwait(false); 1888return _stream.CopyToAsync(destination, bufferSize, cancellationToken); 1891_stream.CopyTo(destination, bufferSize); 1904await _stream.CopyToAsync(destination, bufferSize, cancellationToken).ConfigureAwait(false); 1908_stream.CopyTo(destination, bufferSize);