9 implementations of SendFileAsync
Microsoft.AspNetCore.Http (1)
StreamResponseBodyFeature.cs (1)
86public virtual async Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellationToken)
Microsoft.AspNetCore.HttpLogging (1)
ResponseBufferingStream.cs (1)
193public async Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellation)
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
229Task IHttpResponseBodyFeature.SendFileAsync(string path, long offset, long? length, CancellationToken cancellation)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
300public Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellation)
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
491async Task IHttpResponseBodyFeature.SendFileAsync(string path, long offset, long? length, CancellationToken cancellation)
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
217Task IHttpResponseBodyFeature.SendFileAsync(string path, long offset, long? count, CancellationToken cancellation)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
337Task IHttpResponseBodyFeature.SendFileAsync(string path, long offset, long? count, CancellationToken cancellation)
Microsoft.AspNetCore.StaticAssets (1)
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
174public Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellationToken = default)
Microsoft.AspNetCore.TestHost (1)
ResponseFeature.cs (1)
143public Task SendFileAsync(string path, long offset, long? count, CancellationToken cancellation)
6 references to SendFileAsync
Microsoft.AspNetCore.Http.Extensions (1)
SendFileResponseExtensions.cs (1)
120await sendFile.SendFileAsync(fileName, offset, count, localCancel);
Microsoft.AspNetCore.HttpLogging (1)
ResponseBufferingStream.cs (1)
196await _innerBodyFeature.SendFileAsync(path, offset, count, cancellation);
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
440{ OwinConstants.SendFiles.SendAsync, new FeatureMap<IHttpResponseBodyFeature>(feature => new SendFileFunc(feature.SendFileAsync)) },
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
309return _innerBodyFeature.SendFileAsync(path, offset, count, cancellation);
Microsoft.AspNetCore.StaticAssets (2)
Development\StaticAssetDevelopmentRuntimeHandler.cs (2)
231return _original.SendFileAsync(fileInfo.PhysicalPath!, offset, actualCount, cancellationToken); 237return _original.SendFileAsync(fileInfo.PhysicalPath!, 0, fileInfo.Length, cancellationToken);