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

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

            await client.CompleteMultipartUploadAsync(request).ConfigureAwait(false);
        }
示例#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);
        }