Skip to content

feat: add LoadURLWithClient to support custom HTTP client#81

Open
mig-af wants to merge 1 commit into
antchfx:masterfrom
mig-af:feature/custom-httpclient
Open

feat: add LoadURLWithClient to support custom HTTP client#81
mig-af wants to merge 1 commit into
antchfx:masterfrom
mig-af:feature/custom-httpclient

Conversation

@mig-af
Copy link
Copy Markdown

@mig-af mig-af commented May 23, 2026

LoadURLWithClient: This function accepts a custom HTTP client to provide greater flexibility when making requests. Why is this needed? The default HTTP client relies on the system's DNS resolvers, which isn't always supported on environments like Android. In those cases, and perhaps many others, a custom dialer and resolver are mandatory. This update gives users the freedom to inject their own configured client if needed

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.

1 participant