Skip to content

How to configure HttpClient to use Default System Proxy #2416

@John0King

Description

@John0King

Some details

In this doc https://microsoft.github.io/reverse-proxy/articles/http-client-config.html#httpclient is shows a way to configure a WebProxy, but not mention how to just set the HttpClientHandler.UseProxy to true,
I use a custom configuration to set it to use system proxy for fiddler debugging

                .ConfigureHttpClient((c, h) =>
                {
                    
                    h.UseProxy = true;
                })

and I hope I can use the build in configuration for that

Metadata

Metadata

Assignees

Labels

Type: DocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions