5 references to StreamCopyOperation
Microsoft.AspNetCore.Http.Extensions (1)
SendFileResponseExtensions.cs (1)
102
await
StreamCopyOperation
.CopyToAsync(fileContent, response.Body, count, StreamCopyBufferSize, localCancel);
Microsoft.AspNetCore.Http.Results (2)
src\Shared\ResultsHelpers\FileResultHelper.cs (2)
39
await
StreamCopyOperation
.CopyToAsync(fileStream, outputStream, count: null, bufferSize: 64 * 1024, cancel: context.RequestAborted);
44
await
StreamCopyOperation
.CopyToAsync(fileStream, outputStream, rangeLength, BufferSize, context.RequestAborted);
Microsoft.AspNetCore.Mvc.Core (2)
src\Shared\ResultsHelpers\FileResultHelper.cs (2)
39
await
StreamCopyOperation
.CopyToAsync(fileStream, outputStream, count: null, bufferSize: 64 * 1024, cancel: context.RequestAborted);
44
await
StreamCopyOperation
.CopyToAsync(fileStream, outputStream, rangeLength, BufferSize, context.RequestAborted);