Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以更改 RestSharp 使用的 http 协议版本?即我猜默认是1.1,我想把它改成1.0。
var client = new RestClient(url); client.ConfigureWebRequest(r => { r.ProtocolVersion = HttpVersion.Version10; });