var request = new RestRequest() { Method = Method.Post }; request.Timeout = 30000000; request.AddBody(body); var client = new RestClient(new RestClientOptions(url) { Authenticator = httpauth,MaxTimeout = 3000 }); RestResponse restResponse = client.Execute(request);
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at RestSharp.RestClient.<ExecuteRequestAsync>d__3.MoveNext()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)