1 write to _requestContext
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\ResponseBody.cs (1)
26_requestContext = requestContext;
30 references to _requestContext
Microsoft.AspNetCore.Server.HttpSys (30)
RequestProcessing\ResponseBody.cs (30)
31get { return _requestContext; } 121var started = _requestContext.Response.HasStarted; 137_requestContext.Abort(); 150statusCode = _requestContext.Response.SendHeaders(ref allocator, dataChunks, null, flags, false); 193var chunked = _requestContext.Response.BoundaryType == BoundaryType.Chunked; 194var addTrailers = endOfRequest && _requestContext.Response.HasTrailers; 265_requestContext.Response.SerializeTrailers(ref allocator, out dataChunks[currentChunk++]); 269_requestContext.Response.MakeTrailersReadOnly(); 327var started = _requestContext.Response.HasStarted; 343var chunked = _requestContext.Response.BoundaryType == BoundaryType.Chunked; 352statusCode = _requestContext.Response.SendHeaders(ref allocator, null, asyncResult, flags, false); 459_requestContext.Abort(); 465if (!_requestContext.Response.HasComputedHeaders) 467flags = _requestContext.Response.ComputeHeaders(writeCount, endOfRequest); 471if (_requestContext.Request.IsHeadMethod) 475else if (_requestContext.Response.BoundaryType == BoundaryType.ContentLength) 477_leftToWrite = _requestContext.Response.ExpectedBodyLength; 485if (endOfRequest && _requestContext.Response.BoundaryType == BoundaryType.Close) 490&& (_leftToWrite != writeCount || _requestContext.Response.TrailersExpected)) 508if (_leftToWrite == 0 && !_requestContext.Response.TrailersExpected) 511_requestContext.Response.MakeTrailersReadOnly(); 528if (count == 0 && _requestContext.Response.HasStarted) 550var contentLength = _requestContext.Response.ContentLength; 552if (!_requestContext.Response.HasComputedHeaders && contentLength < count) 557else if (_requestContext.Response.HasComputedHeaders && _requestContext.Response.BoundaryType == BoundaryType.ContentLength 580if (count == 0 && _requestContext.Response.HasStarted) 620var started = _requestContext.Response.HasStarted; 666var chunked = _requestContext.Response.BoundaryType == BoundaryType.Chunked; 674statusCode = _requestContext.Response.SendHeaders(ref allocator, null, asyncResult, flags, false);