1 override of CopyToAsync
System.IO.Pipelines (1)
System\IO\Pipelines\StreamPipeReader.cs (1)
382public override async Task CopyToAsync(Stream destination, CancellationToken cancellationToken = default)
5 references to CopyToAsync
InMemory.FunctionalTests (2)
RequestTests.cs (2)
1127await httpContext.Request.BodyReader.CopyToAsync(ms1); 1128await httpContext.Request.BodyReader.CopyToAsync(ms2);
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.IO.cs (1)
60return _bodyInputPipe!.Reader.CopyToAsync(destination, cancellationToken);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpRequestStream.cs (1)
160return _pipeReader.CopyToAsync(destination, cancellationToken);
System.IO.Pipelines (1)
System\IO\Pipelines\PipeReaderStream.cs (1)
156return _pipeReader.CopyToAsync(destination, cancellationToken);