httpclient timeout default value c# code example
Example 1: set request timeout c#
<system.web>
<httpRuntime executionTimeout="600"/>
</system.web>
Example 2: c# restclient timeout
var client = new RestClient(BaseUrl);
client.Timeout = 5000; // 5000 milliseconds == 5 seconds