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