csharp restclient timeout

Code Example - csharp restclient timeout

                
                        var client = new RestClient(BaseUrl);
client.Timeout = 5000; // 5000 milliseconds == 5 seconds