Skip to content

Consider switching to SocketsHttpHandler #34130

@Tragetaschen

Description

@Tragetaschen

Description

The two examples to configure the http client handler and to disable cookies create new instances of HttpClientHandler. Should these be switched to SocketsHttpHandler?

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-8.0#cookies

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/http-requests.md

Document ID

3d356334-e672-7e8b-1fef-7944ebee99eb

Article author

@stevejgordon

Related Issues

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