17 implementations of StartAsync
Microsoft.AspNetCore.Http (1)
StreamResponseBodyFeature.cs (1)
100public virtual Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateFactoryTests.cs (1)
3751public Task StartAsync(CancellationToken cancellationToken = default)
SendFileResponseExtensionsTests.cs (1)
134public Task StartAsync(CancellationToken token = default)
Microsoft.AspNetCore.Http.Results.Tests (2)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
452public Task StartAsync(CancellationToken cancellation = default)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
556public Task StartAsync(CancellationToken cancellation = default)
Microsoft.AspNetCore.HttpLogging (1)
ResponseBufferingStream.cs (1)
154public async Task StartAsync(CancellationToken token = default)
Microsoft.AspNetCore.Mvc.Core.Test (2)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
452public Task StartAsync(CancellationToken cancellation = default)
src\Shared\ResultsTests\VirtualFileResultTestBase.cs (1)
556public Task StartAsync(CancellationToken cancellation = default)
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
424async Task IHttpResponseBodyFeature.StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.ResponseCaching.Microbenchmarks (1)
ResponseCachingBenchmark.cs (1)
135public Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
297public Task StartAsync(CancellationToken token = default)
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1370public Task StartAsync(CancellationToken token = default) => InnerFeature.StartAsync(token);
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
493Task IHttpResponseBodyFeature.StartAsync(CancellationToken cancellation)
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
205Task IHttpResponseBodyFeature.StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
321Task IHttpResponseBodyFeature.StartAsync(CancellationToken cancellationToken)
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
139public Task StartAsync(CancellationToken cancellationToken = default)
Microsoft.AspNetCore.TestHost (1)
ResponseFeature.cs (1)
126public async Task StartAsync(CancellationToken token = default)
12 references to StartAsync
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpResponse.cs (1)
162return HttpResponseBodyFeature.StartAsync(cancellationToken);
Microsoft.AspNetCore.Http.Tests (6)
Internal\DefaultHttpResponseTests.cs (6)
110mock.Setup(o => o.StartAsync(It.IsAny<CancellationToken>())).Returns(Task.CompletedTask); 120mock.Verify(m => m.StartAsync(default), Times.Once()); 130mock.Setup(o => o.StartAsync(It.Is<CancellationToken>((localCt) => localCt.Equals(ct)))).Returns(Task.CompletedTask); 140mock.Verify(m => m.StartAsync(default), Times.Once()); 149startMock.Setup(o => o.StartAsync(It.IsAny<CancellationToken>())).Returns(Task.CompletedTask); 159startMock.Verify(m => m.StartAsync(default), Times.Never());
Microsoft.AspNetCore.HttpLogging (2)
HttpLoggingFields.cs (1)
98/// or when <see cref="IHttpResponseBodyFeature.StartAsync(System.Threading.CancellationToken)"/>
ResponseBufferingStream.cs (1)
157await _innerBodyFeature.StartAsync(token);
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
300return _innerBodyFeature.StartAsync(token);
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1370public Task StartAsync(CancellationToken token = default) => InnerFeature.StartAsync(token);
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
141return _original.StartAsync(cancellationToken);