5 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.ResponseCompression (1)
ResponseCompressionBody.cs (1)
300public Task 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)
5 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.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);