来自同一 httpclient 实例中具有不同 url 的不同线程的两个请求

Two requests from different threads with different urls in same httpclient instance

我同时从两个不同的线程发出两个不同的 'GET' 请求。 如果我尝试同时发送但使用不同的 url,会不会有任何冲突?

 static HttpClient client = new HttpClient();

 private void Thread1()
 {
   var result= await client.GetAsync("http://URL1");
 }

 private void Thread2()
 {
   var result= await client.GetAsync("http://URL2");
 }

Thread1 和 Thread2 的方法将同时 运行。我会有什么问题吗?或者 httpclient 可以很好地处理这两个请求?

它会很好,just like the docs say it will