Example #1
0
        public async Task <CompleteMultipartUploadResult> CompleteMultipartUploadAsync(CompleteMultipartUploadRequest request)
        {
            var responseText = await SendAsync(request).ConfigureAwait(false);

            return(CompleteMultipartUploadResult.ParseXml(responseText));
        }
Example #2
0
        public async Task CompleteUploadAsync(IUpload upload, IUploadBlock[] blocks)
        {
            var request = new CompleteMultipartUploadRequest(client.Host, upload, blocks);

            await client.CompleteMultipartUploadAsync(request).ConfigureAwait(false);
        }
Example #3
0
        public async Task CompleteUploadAsync(IUpload upload, IUploadBlock[] blocks)
        {
            var completeRequest = new CompleteMultipartUploadRequest(client.Region, upload, blocks);

            var result = await client.CompleteMultipartUploadAsync(completeRequest).ConfigureAwait(false);
        }