Skip to content

Conversation

@JonasDevDE
Copy link

This pull request introduces support for configuring an HTTP proxy in the ApiClient class. The changes enable users to specify a proxy via the HttpOptions class, which is then used when creating the HTTP client. Below is a breakdown of the most important changes:

Proxy Support in HTTP Client:

  • ApiClient.java:

    • Added imports for Proxy, SocketAddress, and InetSocketAddress to facilitate proxy configuration.
    • Updated the createHttpClient method to use the proxy configuration from HttpOptions if provided.
  • HttpOptions.java:

    • Added a new proxy property to the HttpOptions class to store optional proxy configurations.
    • Updated the builder for HttpOptions to include a setter for the new proxy property.

@google-cla
Copy link

google-cla bot commented Jul 30, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

2 participants