示例#1
0
    public Task <PutObjectResponse> PutObjectAsync(string url, Stream?content, Action <SignedPutObjectRequest>?config = null, CancellationToken token = default)
    {
        SignedPutObjectRequest request = new SignedPutObjectRequest(url, content);

        config?.Invoke(request);

        return(_operations.SendPreSignedPutObjectAsync(request, token));
    }
示例#2
0
 public Task <PutObjectResponse> SendPreSignedPutObjectAsync(SignedPutObjectRequest request, CancellationToken token = default)
 {
     return(_handler.SendRequestAsync <SignedPutObjectRequest, PutObjectResponse>(request, token));
 }