public async Task <CompleteMultipartUploadResult> CompleteMultipartUploadAsync(CompleteMultipartUploadRequest request) { var responseText = await SendAsync(request).ConfigureAwait(false); return(CompleteMultipartUploadResult.ParseXml(responseText)); }
public async Task CompleteUploadAsync(IUpload upload, IUploadBlock[] blocks) { var request = new CompleteMultipartUploadRequest(client.Host, upload, blocks); await client.CompleteMultipartUploadAsync(request).ConfigureAwait(false); }
public async Task CompleteUploadAsync(IUpload upload, IUploadBlock[] blocks) { var completeRequest = new CompleteMultipartUploadRequest(client.Region, upload, blocks); var result = await client.CompleteMultipartUploadAsync(completeRequest).ConfigureAwait(false); }