Skip to content

Conversation

@f3l1x
Copy link
Member

@f3l1x f3l1x commented Dec 15, 2025

  • Add HttpClient interface for custom HTTP client implementations
  • Create StreamHttpClient as default implementation with proxy support
  • Add proxy configuration option to ReCaptchaExtension
  • Support proxy URL formats: http://host:port, tcp://host:port, host:port
  • Support proxy authentication via URL (http://user:pass@host:port)

Closes #31

Features:
- Add HttpClient interface for custom HTTP client implementations
- Add StreamHttpClient with proxy support (URL auth, TCP format)
- Add proxy configuration option to ReCaptchaExtension
- Add setHttpClient()/getHttpClient() methods to ReCaptchaProvider

Supported proxy formats:
- http://host:port, tcp://host:port, host:port
- Authentication via URL: http://user:pass@host:port

Tests:
- Add DummyHttpClient for testing
- Add comprehensive HttpClient tests
- Add DI container setup test for custom HttpClient

Documentation:
- Add proxy configuration examples
- Add custom HTTP client implementation guide

Closes #31
- Update composer.json to require PHP >=8.2
- Add autoload-dev for Tests namespace
- Remove PHP 8.1 test job from CI workflow
- Update testlower to use PHP 8.2
- Update version table in README
@f3l1x f3l1x force-pushed the claude/add-proxy-support-CObmB branch from e9c9744 to cea1d99 Compare December 15, 2025 14:20
@f3l1x f3l1x merged commit 725fb8c into master Dec 15, 2025
6 checks passed
@f3l1x f3l1x deleted the claude/add-proxy-support-CObmB branch December 15, 2025 14:35
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.

Configurable proxy

3 participants