示例#1
0
        public ServiceResponseResult <T> GetResponse <T>(ServiceRequest <T> request) where T : ServiceResponse
        {
            HttpResponse httpResponse = DoAction(request);

            return(ParseResponse(request, httpResponse));
        }
示例#2
0
        public ServiceResponseResult <T> GetResponse <T>(ServiceRequest <T> request, bool autoRetry, int maxRetryCounts) where T : ServiceResponse
        {
            HttpResponse httpResponse = DoAction(request, autoRetry, maxRetryCounts);

            return(ParseResponse(request, httpResponse));
        }
示例#3
0
 public HttpResponse DoAction <T>(ServiceRequest <T> request) where T : ServiceResponse
 {
     return(DoAction(request, autoRetry, maxRetryNumber));
 }