2 writes to _response
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
137_response = new HttpResponseMessage() 172_response = null;
21 references to _response
System.Net.Http (21)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (21)
170Debug.Assert(_response != null); 171HttpResponseMessage r = _response; 641Debug.Assert(_response != null); 642_response.StatusCode = (HttpStatusCode)statusCode; 649if (_response.StatusCode == HttpStatusCode.Continue && _expect100ContinueWaiter != null) 657if (statusCode == 200 && _response.RequestMessage!.IsExtendedConnectRequest) 716Debug.Assert(_response != null && _response.Content != null); 718_response.Content.Headers.TryAddWithoutValidation(descriptor, headerValue); 722Debug.Assert(_response != null); 724_response.Headers.TryAddWithoutValidation((descriptor.HeaderType & HttpHeaderType.Request) == HttpHeaderType.Request ? descriptor.AsCustomHeader() : descriptor, headerValue); 1070Debug.Assert(_response is not null); 1071if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode); 1079Debug.Assert(_response != null && _response.Content != null); 1081var responseContent = (HttpConnectionResponseContent)_response.Content; 1090MoveTrailersToResponseMessage(_response); 1097if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {_response}"); 1102CookieHelper.ProcessReceivedCookies(_response, _connection._pool.Settings._cookieContainer!); 1552Debug.Assert(http2Stream._response != null); 1554_responseMessage = _http2Stream._response;