Skip to content

Implement proxy support in Http project#18

Merged
Demosfen merged 4 commits into
mainfrom
17-implement-proxy-support-in-http-project
Feb 11, 2026
Merged

Implement proxy support in Http project#18
Demosfen merged 4 commits into
mainfrom
17-implement-proxy-support-in-http-project

Conversation

@alex1ozr

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings February 11, 2026 14:40
@alex1ozr alex1ozr linked an issue Feb 11, 2026 that may be closed by this pull request
@alex1ozr alex1ozr requested a review from Demosfen February 11, 2026 14:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request implements HTTP proxy support for the Http project by adding proxy configuration options and an extension method to configure HttpClient with proxy settings.

Changes:

  • Added ProxyOptions class to define proxy configuration (address, username, password)
  • Added ConfigurePrimaryHttpProxyMessageHandler extension method for IHttpClientBuilder to configure HTTP clients with proxy support
  • Added Microsoft.Extensions.Http package reference to support the extension functionality

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
src/Http/Proxy/ProxyOptions.cs Defines configuration options for proxy settings including address and credentials
src/Http/Proxy/HttpClientBuilderExtensions.cs Provides extension method to configure HttpClient with proxy using ProxyOptions
src/Http/Http.csproj Adds Microsoft.Extensions.Http package dependency (version managed centrally)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Http/Proxy/HttpClientBuilderExtensions.cs Outdated
Comment thread src/Http/Proxy/HttpClientBuilderExtensions.cs
Comment thread src/Http/Proxy/HttpClientBuilderExtensions.cs Outdated
Comment thread src/Http/Proxy/HttpClientBuilderExtensions.cs
Comment thread src/Http/Proxy/HttpClientBuilderExtensions.cs
Comment thread src/Http/Proxy/ProxyOptions.cs
Comment thread src/Http/Proxy/ProxyOptions.cs
Comment thread src/Http/Proxy/HttpClientBuilderExtensions.cs Outdated
@Demosfen Demosfen merged commit 52f7552 into main Feb 11, 2026
1 check passed
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.

Implement proxy support in Http project

3 participants