示例#1
0
 public ExtendedWebResponse Request(AmazonOperationBase amazonOperation)
 {
     using (var amazonSign = new AmazonSign(this._authentication, this._endpoint))
     {
         var requestUri = amazonSign.Sign(amazonOperation);
         return(SendRequest(requestUri));
     }
 }
 public async Task <ExtendedWebResponse> RequestAsync(AmazonOperationBase amazonOperation)
 {
     using (var amazonSign = new AmazonSign(this._authentication, this._endpoint))
     {
         var requestUri = amazonSign.Sign(amazonOperation);
         return(await SendRequestAsync(requestUri));
     }
 }