RestSharp RestClient的默认超时值是什么?

问题描述 投票:44回答:2

任何人都知道RestSharp RestClient的默认超时值吗?

http timeout restsharp rest-client
2个回答
66
投票

RestSharp在后台使用HttpWebRequest,其default timeout为100秒。


0
投票

至少某些版本的RestSharp(我正在查看106.6.10)在使用异步请求时将使用显式设置的Timeout值,但不提供默认值。

© www.soinside.com 2019 - 2024. All rights reserved.