Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: Request Timeout 0

$
0
0
It would be great if you could send me a repro solution.
Looking around the code I have no idea how such thing is possible.

The reason I am saying so is that I added some code to make sure the timeout value is correct right before performing the query.
using (var client = new HttpClient(handler))
{
    if (twitterQuery.Timeout != null&& twitterQuery.Timeout.Value.TotalMilliseconds > 0)
    {
        client.Timeout = twitterQuery.Timeout.Value;
    }
    else
    {
        client.Timeout = new TimeSpan(0, 0, 10);
    }
    ...
}
Would you please consider trying your code using the Source Code version of Tweetinvi?
Cheers,
Linvi

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>