RestSharp timeout

RestSharp is using HttpWebRequest under the hood, which has a default timeout of 100 seconds.

Ref: https://stackoverflow.com/questions/28829524/what-is-default-timeout-value-of-restsharp-restclient

This is a bit surprise because in other web API, e.g. ASP.NET, 0 timeout means max or no timeout, which is not the case for RestSharp, or HttpWebRequest

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s