Skip to content

Conversation

@lillo42
Copy link

@lillo42 lillo42 commented Feb 28, 2025

你好

当前的 HttpClient 管理似乎过于复杂,我将其改得更简单
https://www.siakabaro.com/how-to-manage-httpclient-connections-in-net/

为了在新的 .NET 版本上更好地支持 HTTP 客户端,需要添加对 .NET 8/10 的支持,并使用 SocketsHttpHandler 对 CreateHttpClient 进行小规模重构


The current HttpClient managment seems to be overcomplicated, I changed it to be simpler
https://www.siakabaro.com/how-to-manage-httpclient-connections-in-net/

To have better support for the HTTP Client on the new .NET Version, it's necessary to add support to .NET 8/10 and to a small refactor on CreateHttpClient by using SocketsHttpHandler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant