1 override of HasStarted
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpResponse.cs (1)
117public override bool HasStarted
25 references to HasStarted
Microsoft.AspNetCore.Antiforgery (2)
Internal\DefaultAntiforgery.cs (2)
66if (!httpContext.Response.HasStarted) 233if (!httpContext.Response.HasStarted)
Microsoft.AspNetCore.Components.Endpoints (4)
Forms\EndpointAntiforgeryStateProvider.cs (1)
35var tokens = !_context.Response.HasStarted ? antiforgery.GetAndStoreTokens(_context) : antiforgery.GetTokens(_context);
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
129if (_httpContext.Response.HasStarted)
Rendering\EndpointHtmlRenderer.Prerendering.cs (1)
225if (httpContext.Response.HasStarted)
Rendering\EndpointHtmlRenderer.Streaming.cs (1)
283if (!_httpContext.Response.HasStarted && marker.Type is ComponentMarker.ServerMarkerType or ComponentMarker.AutoMarkerType)
Microsoft.AspNetCore.CookiePolicy (2)
ResponseCookiesWrapper.cs (2)
69if (!HasConsent && !Context.Response.HasStarted) 81if (HasConsent && !Context.Response.HasStarted)
Microsoft.AspNetCore.Diagnostics (6)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (2)
125if (!context.Response.HasStarted) 140if (context.Response.HasStarted)
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (3)
121if (!context.Response.HasStarted) 131if (context.Response.HasStarted) 189if (context.Response.HasStarted)
StatusCodePage\StatusCodePagesMiddleware.cs (1)
73if (context.Response.HasStarted
Microsoft.AspNetCore.Http (2)
Builder\ApplicationBuilder.cs (1)
184if (!context.Response.HasStarted)
Timeouts\RequestTimeoutsMiddleware.cs (1)
112if (context.Response.HasStarted)
Microsoft.AspNetCore.Http.Abstractions (3)
Extensions\HttpResponseWritingExtensions.cs (1)
50if (!response.HasStarted)
HttpResponse.cs (1)
179public bool HasStarted => _response.HasStarted;
ProblemDetails\IProblemDetailsService.cs (1)
42return context.HttpContext.Response.HasStarted;
Microsoft.AspNetCore.Http.Extensions (1)
ResponseExtensions.cs (1)
22if (response.HasStarted)
Microsoft.AspNetCore.Mvc.ViewFeatures (4)
CookieTempDataProvider.cs (1)
86if (!context.Response.HasStarted)
Filters\SaveTempDataFilter.cs (3)
42if (!context.HttpContext.Response.HasStarted) 84if (!context.HttpContext.Response.HasStarted && context.Exception != null) 101if (!context.HttpContext.Response.HasStarted)
Microsoft.AspNetCore.Session (1)
SessionMiddleware.cs (1)
155return (_shouldEstablishSession |= !_context.Response.HasStarted);