1 override of RequestAborted
Microsoft.AspNetCore.Http (1)
19 writes to RequestAborted
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Mvc.Core.Test (5)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (8)
Microsoft.AspNetCore.Session.Tests (1)
219 references to RequestAborted
AutobahnTestApp (1)
ExceptionHandlerSample (2)
IIS.Tests (6)
InMemory.FunctionalTests (25)
InProcessWebSite (1)
Interop.FunctionalTests (11)
Microsoft.AspNetCore.Authentication.Cookies (6)
CookieAuthenticationHandler.cs (6)
172ticket = await Options.SessionStore.RetrieveAsync(claim.Value, Context, Context.RequestAborted);
187await Options.SessionStore.RemoveAsync(_sessionKey!, Context, Context.RequestAborted);
264await Options.SessionStore.RenewAsync(_sessionKey, ticket, Context, Context.RequestAborted);
342await Options.SessionStore.RenewAsync(_sessionKey, ticket, Context, Context.RequestAborted);
346_sessionKey = await Options.SessionStore.StoreAsync(ticket, Context, Context.RequestAborted);
392await Options.SessionStore.RemoveAsync(_sessionKey, Context, Context.RequestAborted);
Microsoft.AspNetCore.Authentication.Facebook (2)
Microsoft.AspNetCore.Authentication.Google (2)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (2)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Authentication.OpenIdConnect (11)
Microsoft.AspNetCore.Authentication.Twitter (5)
Microsoft.AspNetCore.Authentication.WsFederation (4)
Microsoft.AspNetCore.Diagnostics (3)
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (8)
HttpResponseJsonExtensions.cs (5)
96return WriteAsJsonAsyncSlow(response.BodyWriter, value, options, response.HttpContext.RequestAborted);
127return WriteAsJsonAsyncSlow(response, value, jsonTypeInfo, response.HttpContext.RequestAborted);
169return WriteAsJsonAsyncSlow(response, value, jsonTypeInfo, response.HttpContext.RequestAborted);
276response.HttpContext.RequestAborted);
326return WriteAsJsonAsyncSlow(response.BodyWriter, value, type, context, response.HttpContext.RequestAborted);
Microsoft.AspNetCore.Http.Extensions.Tests (21)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Http.Results (4)
src\Shared\ResultsHelpers\FileResultHelper.cs (4)
39await StreamCopyOperation.CopyToAsync(fileStream, outputStream, count: null, bufferSize: 64 * 1024, cancel: context.RequestAborted);
44await StreamCopyOperation.CopyToAsync(fileStream, outputStream, rangeLength, BufferSize, context.RequestAborted);
64await outputStream.WriteAsync(buffer, context.RequestAborted);
78await outputStream.WriteAsync(buffer.Slice(from, length), context.RequestAborted);
Microsoft.AspNetCore.Http.Tests (3)
Microsoft.AspNetCore.Identity (2)
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.Mvc.Core (13)
src\Shared\ResultsHelpers\FileResultHelper.cs (4)
39await StreamCopyOperation.CopyToAsync(fileStream, outputStream, count: null, bufferSize: 64 * 1024, cancel: context.RequestAborted);
44await StreamCopyOperation.CopyToAsync(fileStream, outputStream, rangeLength, BufferSize, context.RequestAborted);
64await outputStream.WriteAsync(buffer, context.RequestAborted);
78await outputStream.WriteAsync(buffer.Slice(from, length), context.RequestAborted);
Microsoft.AspNetCore.Mvc.Core.Test (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (6)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.OutputCaching (2)
Microsoft.AspNetCore.RateLimiting (3)
Microsoft.AspNetCore.RequestDecompression.Tests (6)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (8)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.StaticAssets (1)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.TestHost.Tests (8)
OpenIdConnectSample (2)
RequestDecompressionSample (2)
SocialSample (3)
Sockets.FunctionalTests (17)
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (13)
301context.RequestAborted.Register(() => requestAborted.SetResult());
309await context.Response.BodyWriter.WriteAsync(new Memory<byte>(scratchBuffer, 0, scratchBuffer.Length), context.RequestAborted);
368context.RequestAborted.Register(() => requestAborted.SetResult());
525context.RequestAborted.Register(() => requestAborted.SetResult());
535await context.Response.BodyWriter.WriteAsync(new Memory<byte>(chunkData, 0, chunkData.Length), context.RequestAborted);
662context.RequestAborted.Register(() =>
673await context.Response.BodyWriter.WriteAsync(new Memory<byte>(chunkData, 0, chunkData.Length), context.RequestAborted);
779context.RequestAborted.Register(() =>
881context.RequestAborted.Register(() =>
888await context.Response.BodyWriter.WriteAsync(new Memory<byte>(chunkData, 0, chunkData.Length), context.RequestAborted);
958context.RequestAborted.Register(() =>
1045context.RequestAborted.Register(() =>
1052await context.Response.BodyWriter.WriteAsync(new Memory<byte>(chunkData, 0, chunkData.Length), context.RequestAborted);