예제 #1
0
 public ExtendedWebResponse Request(AmazonOperationBase amazonOperation)
 {
     using (var amazonSign = new AmazonSign(this._authentication, this._endpoint))
     {
         var requestUri = amazonSign.Sign(amazonOperation);
         return(SendRequest(requestUri));
     }
 }
예제 #2
0
 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));
     }
 }