예제 #1
0
        public Task <GetObjectResponse> GetObjectAsync(string bucketName, string resource, Action <GetObjectRequest> config = null, CancellationToken token = default)
        {
            GetObjectRequest req = new GetObjectRequest(bucketName, resource);

            config?.Invoke(req);

            return(_operations.GetAsync(req, token));
        }
예제 #2
0
 public Task <GetObjectResponse> ExecuteAsync(CancellationToken token = default)
 {
     return(_objectOperations.GetAsync(_request, token));
 }