Exemplo n.º 1
0
 public IAsyncEnumerable <GetObjectResponse> DownloadMultipartAsync(Stream output, CancellationToken token = default)
 {
     return(_multipartTransfer.MultipartDownloadAsync(_request.BucketName, _request.ObjectKey, output, config: CopyProperties, token: token));
 }
Exemplo n.º 2
0
 public IAsyncEnumerable <GetObjectResponse> MultipartDownloadAsync(string bucketName, string objectKey, Stream output, int bufferSize = 16777216, int numParallelParts = 4, Action <GetObjectRequest>?config = null, CancellationToken token = default)
 {
     return(_multipartTransfer.MultipartDownloadAsync(bucketName, objectKey, output, bufferSize, numParallelParts, config, token));
 }