StreamPipeExtensions
Provides extension methods for Stream that support read and write operations directly into pipes.
public static Task CopyToAsync(this Stream source, PipeWriter destination, CancellationToken cancellationToken = default)
Asynchronously reads the bytes from the Stream and writes them to the specified PipeWriter, using a cancellation token.