13 references to HasStarted
Microsoft.AspNetCore.Server.HttpSys (12)
RequestProcessing\Request.cs (1)
396public bool CanDelegate => !(HasRequestBodyStarted || RequestContext.Response.HasStarted);
RequestProcessing\RequestContext.cs (2)
98if (Response.HasStarted) 349if (Response.HasStarted)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
752if (!Response.HasStarted)
RequestProcessing\RequestContextOfT.cs (1)
71if (Response.HasStarted)
RequestProcessing\Response.cs (2)
234if (HasStarted) 283Debug.Assert(!HasStarted, "HttpListenerResponse::SendHeaders()|SentHeaders is true.");
RequestProcessing\ResponseBody.cs (5)
121var started = _requestContext.Response.HasStarted; 327var started = _requestContext.Response.HasStarted; 528if (count == 0 && _requestContext.Response.HasStarted) 580if (count == 0 && _requestContext.Response.HasStarted) 620var started = _requestContext.Response.HasStarted;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Listener\ResponseBodyTests.cs (1)
87Assert.True(context.Response.HasStarted);