예제 #1
0
        public IRestResponse<T> ExecuteRequest<T>(CustomRequest request) where T : new()
        {
            if (request == null)
            {
                throw new ArgumentNullException(nameof(request));
            }

            var restResponse = Client.Execute<T>(request.Build());

            return restResponse;
        }