[Question] HttpClientHandler, SocketsHttpHandler for a .NET Core 3.1 app #35212
Labels
area-System.Net.Http
question
Answer questions and provide assistance, not an issue with source code or documentation.
Milestone
We have a .NET Core 3.1 app that we're using HttpClient to connect to a web server. The HttpClient instance is constructed via a HttpClientHandler instance we are creating.
From what I understand reading this, in >=2.1 the HttpClientHandler was rewritten to use SocketsHttpHandler.
Still, this page seems to recommend SocketsHttpHandler.
Can you clarify on what's the optimal solution? FWIW, we don't need the older HTTP stacks.
The text was updated successfully, but these errors were encountered: