Skip to content

Update use of HttpClientHandler to SocketsHttpHandler #17322

@valleyjo

Description

@valleyjo

Looks like starting with .net core 2.1+ the preferred HttpMessageHandler implementation is SocketsHttpHandler not HttpClientHandler as listed in this page's example.

This page should be updated to reflect this guidance.

Source: https://docs.microsoft.com/en-us/dotnet/api/system.net.http.socketshttphandler?view=netcore-3.1&viewFallbackFrom=netframework-4.8


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions