Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Different pages have conflicting information #11585

Closed
@zms9110750

Description

@zms9110750

Type of issue

Other (describe below)

Description

here say:

Using this constructor is equivalent to calling theHttpClient(new HttpClientHandler(), true) constructor.

butthere say

Starting in .NET Core 2.1, the implementation of the HttpClientHandler class was changed to be based on the cross-platform HTTP protocol stack used by theSystem.Net.Http.SocketsHttpHandler class. Prior to .NET Core 2.1, the HttpClientHandler class used older HTTP protocol stacks (WinHttpHandler on Windows and CurlHandler, an internal class implemented on top of Linux's native libcurl component, on Linux).

and github runtime soure show:

public HttpClient() : this(new HttpClientHandler())

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.-ctor?view=net-9.0#system-net-http-httpclient-ctor

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Net.Http/HttpClient.xml

Document Version Independent Id

b79d1c28-2664-e045-2723-71f60e6a3248

Platform Id

8d6fe60a-3749-879f-1e86-a924e4ef1ae7

Article author

@karelz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp